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

com.vicpin.butcherknife.annotation.BindText Maven / Gradle / Ivy

The newest version!
package com.vicpin.butcherknife.annotation;


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

@Retention(RetentionPolicy.CLASS)
@Target(ElementType.FIELD)
public @interface BindText {
    /**
     * View id
     */
    int id();

    /**
     * Parametrized string resource
     */
    int template() default 0;

    /**
     * Visibility when text is empty or number is 0, default VISIBLE
     */
    int visibilityIfEmpty() default 0; //Default View.VISIBLE

    /**
     * Parse html tags with Html.fromHtml
     */
    boolean isHtml() default false;

    /**
     * Sync changes in widget with this field
     */
    boolean observeChanges() default false;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy