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

fragment销毁后,再调用mDataBind会报 onGetLayoutInflater() cannot be executed until the Fragment is attached to the FragmentManager. #44

Open
wlqjj0 opened this issue Nov 29, 2024 · 0 comments

Comments

@wlqjj0
Copy link

wlqjj0 commented Nov 29, 2024

主要原因是使用不当吧,但是有没有什么框架里能解决的办法
image
目前加了判断,在fragment销毁后,再创建,列表中的item复用,ontouch的回调用了之前的就会这样,此时
image
image

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