Skip to content

Instantly share code, notes, and snippets.

@Diolor
Last active March 18, 2017 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Diolor/0ce187c67a5f07417c7bf43b113f3c41 to your computer and use it in GitHub Desktop.
Save Diolor/0ce187c67a5f07417c7bf43b113f3c41 to your computer and use it in GitHub Desktop.
RxJava & MVP
public interface Presenter<S, V extends StateView<S>> {
void onStart(V view);
void onStop();
}
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