Skip to content

Instantly share code, notes, and snippets.

@amitkma
Created June 2, 2017 12:20
Show Gist options
  • Save amitkma/ea19cf1108b4aaf6b3368dc1feb46785 to your computer and use it in GitHub Desktop.
Save amitkma/ea19cf1108b4aaf6b3368dc1feb46785 to your computer and use it in GitHub Desktop.
/**
* Base view which act as a View in Model-View-Presenter.
* This interface will be extended by more specific interface and which will be implemented
* in any class that want to act as a MVP view.
*/
public interface MvpView<T extends MvpPresenter> {
void setPresenter(T presenter);
void showProgress();
void hideProgress();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment