@Target(value=TYPE)
@Inherited
public @interface InjectViewState
MvpPresenter.views and
MvpPresenter.viewState presenter fields. Presenter annotated with
this should be strongly typed with a View interface (do not write something like extends
MvpPresenter<V extends SuperView>, or the code generation would make
the code that would break your app).| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<? extends MvpViewState> |
value |
java.lang.Class<? extends MvpView> |
view |
public abstract java.lang.Class<? extends MvpViewState> value
public abstract java.lang.Class<? extends MvpView> view