Closed heylee closed 2 years ago
com.github.kirich1409:viewbindingpropertydelegate:1.5.0-beta01 version
The crash expected because you try to access ViewBinding outside of Fragment's View lifecycle. I can tell more details but need full stack trace and you need to use the latest version of the library
Fatal Exception: java.lang.IllegalStateException Access to viewBinding after Lifecycle is destroyed or hasn't created yet. The instance of viewBinding will be not cached. by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.runStrictModeChecks (LifecycleViewBindingProperty.java:111) by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.getValue (LifecycleViewBindingProperty.java:90) by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.getValue (LifecycleViewBindingProperty.java:71)