public interface Presenter<V,S extends ViewState>
| Modifier and Type | Method and Description |
|---|---|
void |
onAttachView(V view)
Attach your view to this presenter.
|
void |
onCreate(S viewState)
Called when the presenter gets created.
|
void |
onDestroy()
Called when the presenter is destroyed.
|
void |
onDetachView()
Detach your view from this presenter.
|
void |
onViewHide()
Called when the view go hiding (Fragment onPause()).
|
void |
onViewVisible()
Called when the view go visible (Fragment onResume()).
|
void onCreate(S viewState)
viewState - A ViewState associated with this Presenter.void onDestroy()
void onAttachView(V view)
view - The view will associated with this presenter.void onDetachView()
void onViewVisible()
void onViewHide()