Remove requestModelBuild() from epoxy Controllers init block #4591
Labels
A-Developer-Experience
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Steps to reproduce
According to Epoxy documentation, requestModelBuild() should be called from the main thread:
Note: The first time an EpoxyController builds models it will always run on the main thread, even if you have specified an async handler. This is necessary to allow views to synchronously restore saved state when first created. See Javadoc on EpoxyController#requestModelBuild for more details.
Invoking
requestModelBuild()
from within epoxy Controllerinit{}
block preventsbuildModels()
to run in UI thread for the first time.Outcome
Remove
requestModelBuild()
from epoxy Controllersinit{}
blockYour phone model
No response
Operating system version
No response
Application version and app store
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: