@Override
  protected void onResume() {
    super.onResume();
    Registrations.registerMainThreadHandler(this);
    Registrations.unregisterBackgroundThreadHandler(NotificationBarMessageHandler.instance);

    displayMessages();
  }
Beispiel #2
0
 @Override
 protected void onPause() {
   super.onPause();
   Registrations.unregisterMainThreadHandler(this);
 }
Beispiel #3
0
 @Override
 protected void onResume() {
   super.onResume();
   Registrations.registerMainThreadHandler(this);
 }