library.neetoffice.com.neetannotation.NFragment 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.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
/**
* Should be used on {@link NFragment} classes to enable usage of NeetAnnotations.
*/
@Retention(SOURCE)
@Target(TYPE)
public @interface NFragment {
/**
* Same viewBinding.
*
* @return viewBinding class.
*/
Class value() default NoBinder.class;
/**
* ViewBinding class.
*
* @return viewBinding class.
*/
Class viewBinding() default NoBinder.class;
/**
* Resource name
*
* @return Resource name.
*/
String resName() default "";
/**
* Resource package.
*
* @return Resource package.
*/
String resPackage() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy