Created
June 2, 2013 07:19
-
-
Save almozavr/5692901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BusFragment extends Fragment { | |
@Override | |
public void onStart() { | |
super.onStart(); | |
App.uiBus.registerSticky(this); | |
} | |
@Override | |
public void onStop() { | |
super.onStop(); | |
App.uiBus.unregister(this); | |
} | |
protected void onEvent(Object object) { | |
App.uiBus.removeStickyEvent(object); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment