Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created August 23, 2017 14: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 aemxn/a1c45f836c494729c5f46f52e3215802 to your computer and use it in GitHub Desktop.
Save aemxn/a1c45f836c494729c5f46f52e3215802 to your computer and use it in GitHub Desktop.
Login contract
package com.myapp.core.mvp.home.login;
public interface LoginContract {
interface ViewAction{
void onUserLogin(@NonNull Login login);
}
interface LoginView extends RemoteView {
void onLoginSuccess();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment