library.neetoffice.com.neetannotation.SaveInstance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NeetAnnotation-api Show documentation
Show all versions of NeetAnnotation-api Show documentation
NeetAnnotation is an open source annotation framework for Android development. It base on android lifecycle, dagger2 and Rxjava.
package library.neetoffice.com.neetannotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.SOURCE;
/**
* Annotation field will be save instance in activity and fragment.
*/
@Retention(SOURCE)
@Target(FIELD)
public @interface SaveInstance {
/**
* Bundle key
*
* @return key
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy