Last active
March 18, 2017 01:36
-
-
Save Diolor/0ce187c67a5f07417c7bf43b113f3c41 to your computer and use it in GitHub Desktop.
RxJava & MVP
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 interface Presenter<S, V extends StateView<S>> { | |
void onStart(V view); | |
void onStop(); | |
} |
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 interface StateView<S> { | |
void updateState(S state); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment