Annotation Type BindingMethod


  • @Target(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

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String attribute  
      java.lang.String method  
      java.lang.Class type  
    • Element Detail

      • type

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

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

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