Package com.airbnb.epoxy
Annotation Type EpoxyDataBindingLayouts
-
@Target(TYPE) @Retention(CLASS) public @interface EpoxyDataBindingLayoutsUsed to specify a list of databinding layout resources that you want EpoxyModels generated for. The models will be generated in the same package as this annotation. Every layout must be a valid databinding layout. The name of the generated model will be based on the layout resource name.The layouts must not specify a custom databinding class name or package via the class="com.example.CustomClassName" override in the layout xml.
Alternatively you can use
EpoxyDataBindingPatternto avoid explicitly declaring each layout.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description int[]valueA list of databinding layout resources that should have EpoxyModel's generated for them.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanenableDoNotHashIf true, any variable whose type does not implement equals and hashcode will have theEpoxyAttribute.Option.DoNotHashbehavior applied to them automatically.
-
-
-
-
enableDoNotHash
boolean enableDoNotHash
If true, any variable whose type does not implement equals and hashcode will have theEpoxyAttribute.Option.DoNotHashbehavior applied to them automatically.This is generally helpful for listeners - other variables should almost always implement equals and hashcode.
For details on the nuances of this, see https://github.com/airbnb/epoxy/wiki/DoNotHash
- Default:
- true
-
-