Created
February 15, 2017 01:17
-
-
Save lawloretienne/d0fc102570a4bb87b13f92e1e6ae2ad2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 MoviesFragment extends BaseFragment { | |
// region Member Variables | |
private CompositeSubscription compositeSubscription; | |
// endregion | |
// region Lifecycle Methods | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
compositeSubscription = new CompositeSubscription(); | |
} | |
@Override | |
public void onDestroy() { | |
super.onDestroy(); | |
compositeSubscription.unsubscribe(); | |
} | |
// endregion | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment