V - The type of MvpViewP - The type of MvpPresenterpublic interface MvpDelegateCallback<V extends MvpView,P extends <any>>
FragmentMvpDelegate or ViewGroupMvpDelegate. This interface must be implemented by all
Fragment or android.view.View that you want to support Mosby mvp.| Modifier and Type | Method and Description |
|---|---|
P |
createPresenter()
Creates the presenter instance
|
V |
getMvpView()
Gets the MvpView for the presenter
|
P |
getPresenter()
Gets the presenter.
|
void |
setPresenter(P presenter)
Sets the presenter instance
|
P createPresenter()
P getPresenter()
createPresenter()void setPresenter(P presenter)
presenter - The presenter instanceV getMvpView()