Skip to content

FragmentVBDelegate.checkBindingFirstInvoke()方法疑问 #1

@hhaappy163

Description

@hhaappy163

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions