We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fragment doesn't have view associated with it or the view has been destroyed
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:65) by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:34) by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.getValue (ViewBindingProperty.kt:76) by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:42) by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:34) com.xxx.MainFragment.getBinding (MainFragment.kt:53) com.xxx.MainFragment.onSaveInstanceState (MainFragment.kt:216)
90% occurrence in background
The text was updated successfully, but these errors were encountered:
This is normal behaviour, because Fragment's view has been destroyed. Try to add check
if (view != null) { // Do something with viewBinding }
Sorry, something went wrong.
kirich1409
No branches or pull requests
Fragment doesn't have view associated with it or the view has been destroyed
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:65)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:34)
by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.getValue (ViewBindingProperty.kt:76)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:42)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:34)
com.xxx.MainFragment.getBinding (MainFragment.kt:53)
com.xxx.MainFragment.onSaveInstanceState (MainFragment.kt:216)
90% occurrence in background
The text was updated successfully, but these errors were encountered: