All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arellomobile.mvp.InjectViewState Maven / Gradle / Ivy

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 value() default DefaultViewState.class;

	Class view() default DefaultView.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy