hoc081098 / hoc081098/ViewBindingDelegate
IllegalStateException Can't access the Fragment View's LifecycleOwner
Open
- Dominant language
- Kotlin
- Stars
- 115
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
In multiple fragments, we are facing the same issue.
`Fatal Exception: java.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner for c0{7609394} (cc0421c4-bee5-4696-b899-4d95ab41c37b id=0x7f0a01d8) when getView() is null i.e., before onCreateView() or after onDestroyView()
`
we are declaring and initialising the binding as follows
` private val binding by viewBinding(FragmentXBinding::bind) `
Any hint or help would be highly appreciated
PS: we are using latest version **1.4.0**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.