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

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