@Target(value=FIELD)
@Retention(value=CLASS)
public @interface EpoxyAttribute
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
hash
Deprecated.
Use
EpoxyAttribute.Option.DoNotHash instead. |
boolean |
setter
Deprecated.
Use
EpoxyAttribute.Option.NoSetter instead. |
EpoxyAttribute.Option[] |
value
Specify any
EpoxyAttribute.Option values that should be used when generating the model class. |
public abstract EpoxyAttribute.Option[] value
EpoxyAttribute.Option values that should be used when generating the model class.@Deprecated public abstract boolean hash
EpoxyAttribute.Option.DoNotHash instead.It may be useful to disable this for objects that get recreated without the underlying data changing such as a click listener that gets created inline in every bind call.
@Deprecated public abstract boolean setter
EpoxyAttribute.Option.NoSetter instead.It may be useful to disable this for attribute which can be immutable and doesn't require setter.