Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwittchen/9e927475e7e5685200a0 to your computer and use it in GitHub Desktop.
Save pwittchen/9e927475e7e5685200a0 to your computer and use it in GitHub Desktop.
@Override
protected void onResume() {
super.onResume();
bus.register(this);
networkEvents.register();
}
@Override
protected void onPause() {
super.onPause();
bus.unregister(this);
networkEvents.unregister();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment