![JAR search and dependency download from the Maven repository](/logo.png)
com.arellomobile.mvp.InjectViewState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moxy Show documentation
Show all versions of moxy Show documentation
MoxyX, we added X for make this library coolest
The newest version!
package com.arellomobile.mvp;
import java.lang.annotation.Target;
import com.arellomobile.mvp.viewstate.MvpViewState;
import static java.lang.annotation.ElementType.TYPE;
/**
* Inject view state to {@link MvpPresenter#mViews} and
* {@link MvpPresenter#mViewState} presenter fields. Presenter, annotated with
* this, should be strongly typed on view interface(not write some like extends
* MvpPresenter<V extends SuperView>). Otherwise code generation make
* code, that broke your app.
*/
@Target(value = TYPE)
public @interface InjectViewState {
Class extends MvpViewState> value() default DefaultViewState.class;
Class extends MvpView> view() default DefaultView.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy