In my case I use extended Carousel in ViewPager . Custom Carousel uses custom EpoxyController. When user switches between tabs of ViewPager an EpoxyRecyclerView's restore state and sets his SimpleController in setModels method - not my custom Controller. If I try override setModels I should know if epoxyController is already initialized or no because this method call multiple times while user change data.
epoxyController - is private
setController - is final
Can Epoxy add new api to check epoxyController on null ?
In my case I use extended Carousel in ViewPager . Custom Carousel uses custom EpoxyController. When user switches between tabs of ViewPager an EpoxyRecyclerView's restore state and sets his SimpleController in
setModels
method - not my custom Controller. If I try overridesetModels
I should know ifepoxyController
is already initialized or no because this method call multiple times while user change data.epoxyController
- is privatesetController
- is finalCan Epoxy add new api to check
epoxyController
on null ?