airbnb / epoxy

Epoxy is an Android library for building complex screens in a RecyclerView
https://goo.gl/eIK82p
Apache License 2.0
8.52k stars 728 forks source link

Question #1357

Open mobilekosmos opened 1 year ago

mobilekosmos commented 1 year ago

If I pass a callback to the EpoxyController, and the callback fires just when the Fragment was already in the state onDestroyView, do I really need to handle this in each callback myself? Because I'm getting following from it:

"java.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner when getView() is null i.e., before onCreateView() or after onDestroyView()"