element-hq / element-hq/element-android
Application to library get layout=null !!
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
### Your use case
Dear Sir
i try modify vector as library ( change application plugin to library plgin )
i get
"incompatible types cannot be convert to int "
@com.airnb.epoxy.EpoxyModelClass(layot=null)
i google it
https://stackoverflow.com/questions/59843745/epoxymodels-are-not-working-in-feature-modules-library-projects-in-android
https://github.com/airbnb/epoxy/issues/819#issuecomment-576728923
if i do not modify code ( use "override fun getDefaultLayout() " replace annotation )
how to fix it ?
THX
### Have you considered any alternatives?
1. i try epoxy library , add "butterknife" still get null

2. so i must use
https://stackoverflow.com/questions/59843745/epoxymodels-are-not-working-in-feature-modules-library-projects-in-android
modify all View class
override fun getDefaultLayout()
### Additional context

Contributor guide
Assessment
This issue has not been assessed yet.