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

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