Created
July 28, 2017 15:37
-
-
Save vestrel00/43ba3be57487caedcddce89c4b67cafd to your computer and use it in GitHub Desktop.
C: 1 - ui/common/presenter/BasePresenter.java
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 abstract class BasePresenter<T extends MVPView> implements Presenter { | |
protected final T view; | |
protected BasePresenter(T view) { | |
this.view = view; | |
} | |
@Override | |
public void onStart(@Nullable Bundle savedInstanceState) { | |
} | |
@Override | |
public void onResume() { | |
} | |
@Override | |
public void onPause() { | |
} | |
@Override | |
public void onSaveInstanceState(Bundle outState) { | |
} | |
@Override | |
public void onEnd() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment