Skip to content
New issue

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

FragmentVBDelegate.checkBindingFirstInvoke()方法疑问 #1

Open
hhaappy163 opened this issue Dec 7, 2023 · 0 comments
Open

FragmentVBDelegate.checkBindingFirstInvoke()方法疑问 #1

hhaappy163 opened this issue Dec 7, 2023 · 0 comments

Comments

@hhaappy163
Copy link

hhaappy163 commented Dec 7, 2023

FragmentVBDelegate.kt
当我想在Fragment中的onDestroyView方法中想要进行资源释放,bind.xxxx.onDestroy()时,
出现了崩溃:
java.lang.IllegalStateException: Cannot access view bindings. View lifecycle is DESTROYED!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant