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
No description provided.
The text was updated successfully, but these errors were encountered:
附:我是在DialogFragment onActivityCreated方法中第一次引用ViewBinding字段的
Sorry, something went wrong.
看描述是使用属性委托的用法吧,这是通过 Fragment 构造函数传入布局去 onCreateView() 的,按理来说只要布局没有漏传应该不会出现这个问题才对。有没有完整点的代码来康康吗?
排查出来的,不是库的问题,是fragment状态问题,我在异步回调中使用binding操作了视图,而此时fragment已经销毁。
Optimize exception message in fragments #37
1aac8df
已发布 1.2.6 版本优化该报错信息,在 Fragment 销毁后获取 binding 对象会报 "The binding property has been destroyed" 方便排查问题。
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: