@Target(value=TYPE)
@Retention(value=CLASS)
public @interface EpoxyDataBindingLayouts
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 EpoxyDataBindingPattern to avoid explicitly declaring each
layout.
| Modifier and Type | Required Element and Description |
|---|---|
int[] |
value
A list of databinding layout resources that should have EpoxyModel's generated for them.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enableDoNotHash
If true, any variable whose type does not implement equals and hashcode will have the
EpoxyAttribute.Option.DoNotHash behavior applied to them automatically. |
@LayoutRes public abstract int[] value
public abstract boolean enableDoNotHash
EpoxyAttribute.Option.DoNotHash behavior 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