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

butterknife.InjectView Maven / Gradle / Ivy

There is a newer version: 10.2.3
Show newest version
package butterknife;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.CLASS;

/**
 * Bind a field to the view for the specified ID. The view will automatically be cast to the field
 * type.
 * 

 * {@literal @}InjectView(R.id.title) TextView title;
 * 
* * @see Optional */ @Retention(CLASS) @Target(FIELD) public @interface InjectView { /** View ID to which the field will be bound. */ int value(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy