You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be prudent to double check that androidx.lifecycle hasn't shipped this in more recent version of the lifecycle library. They might be interested in an external contribution if we get something working, also.
When lazy loading a ViewModel any references to the ViewModel property before
Fragment.onAttach
will cause an IllegalStateException.We should detect premature access of a ViewModel during Fragment initialization in Kotlin and Java.
The text was updated successfully, but these errors were encountered: