Open zokirjonkodirov opened 1 year ago
why not using EpoxyAttribute?
Not to generate extra methods. Just wanted to pass data through constructor. I don't know it's recommended way or not.
I recommend to use EpoxyAttribute. Epoxy will generate the method to use in EpoxyController
I have the same issue on my side. It worked before switching to ksp
.
Also lots of my epoxy models had a lot of declarations like
@EpoxyAttributes
lateinit var title: String
Which are not working anymore either after switching to ksp
. The app is crashing even though I don't try to access that variable.
In EpoxyModel i'm trying to pass data through constructor and not using @EpoxyAttribute annotation. Parameter has a default value. Before I was using kapt and there was no problem. When I switched to KSP there is such an error: No value passed for parameter 'isFullScreen'
Can't I use default parameter values?