EpoxyModelClass subclasses are not generating
See original GitHub issueSubclasses are not being generated for EpoxyModelClass (picture included below). The EpoxyModelClass is also missing the layout property to be overwritten within our models (@EpoxyModelClass(layout = R.layout.model_button)
gives “cannot resolve method layout” error). This is our EpoxyModelClass.java:
And this is yours:
Generated subclasses are not recognized in SampleAdapter.java.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Why Epoxy does not generate model class? - Stack Overflow
I want to use Epoxy for my recyclerView with kotlin, but Epoxy Model does not generate PostModel_() class, what wrong with it?
Read more >alipay404 / epoxy Download - JitPack
A model class annotated with @EpoxyModelClass will always have a subclass generated. There are several cases where it may be useful to use...
Read more >EpoxyModel (epoxy-adapter 2.14.0 API) - Javadoc.io
This is used internally by generated models to do validation checking when "validateEpoxyModelUsage" is enabled and the model is used with a EpoxyController...
Read more >How does Airbnb do it? Epoxy! - Medium
The RecyclerView adapter will use the NameOfModel_ notation to represent generated subclasses and the subclasses will be generated at runtime. So do not...
Read more >SimpleEpoxyModel (epoxy-adapter 2.10.0 API) - AppDoc
This allows you to just provide the layout instead of needing to create a separate EpoxyModel subclass. This is useful for static layouts....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@juicycleff if you are using kotlin you need to use
kapt
instead ofannotationProcessor
Yeah, that annotation update is only available starting in the 1.6.1 release https://github.com/airbnb/epoxy/pull/112 which I am about to push.
Sorry for the confusion.