Skip to content

Instantly share code, notes, and snippets.

@PierceZ
Created January 14, 2017 19:55
Show Gist options
  • Save PierceZ/2edaee4c1dd24a5ec43c9c978847cd48 to your computer and use it in GitHub Desktop.
Save PierceZ/2edaee4c1dd24a5ec43c9c978847cd48 to your computer and use it in GitHub Desktop.
public abstract class BaseActivity extends AppCompatActivity {
@Override
protected void onDestroy() {
super.onDestroy();
RxBus.unregister(this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment