butterknife.BindString Maven / Gradle / Ivy
package butterknife;
import android.support.annotation.StringRes;
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 specified string resource ID.
*
* {@literal @}BindString(R.string.username_error) String usernameErrorText;
*
*/
@Retention(CLASS) @Target(FIELD)
public @interface BindString {
/** String resource ID to which the field will be bound. */
@StringRes int value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy