Package com.airbnb.epoxy
Annotation Type EpoxyModelClass
-
@Target(TYPE) @Retention(CLASS) public @interface EpoxyModelClassUsed to annotate EpoxyModel classes in order to generate a subclass of that model with getters, setters, equals, and hashcode for the annotated fields, as well as other helper methods and boilerplate reduction.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intlayoutA layout resource that should be used as the default layout for the model.booleanuseLayoutOverloadsIf true, any layout file name that haslayout()as a prefix will be included as a method on the generated model.
-
-
-
-
useLayoutOverloads
boolean useLayoutOverloads
If true, any layout file name that haslayout()as a prefix will be included as a method on the generated model.For example, if the layout is "R.layout.my_view" then any layouts in the form of "R.layout.my_view_*" will result in a generated method like "with*Layout" that will apply that other layout instead of the default.
- Default:
- false
-
-