android.databinding
Annotation Type BindingMethod


@Target(value=ANNOTATION_TYPE)
public @interface BindingMethod

Used within an BindingMethods annotation to describe a renaming of an attribute to the setter used to set that attribute. By default, an attribute attr will be associated with setter setAttr.


Required Element Summary
 java.lang.String attribute
           
 java.lang.String method
           
 java.lang.Class type
           
 

Element Detail

type

public abstract java.lang.Class type
Returns:
the View Class that the attribute is associated with.

attribute

public abstract java.lang.String attribute
Returns:
The attribute to rename. Use android: namespace for all android attributes or no namespace for application attributes.

method

public abstract java.lang.String method
Returns:
The method to call to set the attribute value.