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

带生命周期的注册无法反注册 #165

Open
huanghaoda8 opened this issue Jul 19, 2023 · 0 comments
Open

带生命周期的注册无法反注册 #165

huanghaoda8 opened this issue Jul 19, 2023 · 0 comments

Comments

@huanghaoda8
Copy link

observer()或者observeSticky()在生命周期内反注册失败,由于map的key是observerWrapper,所以无法移除LiveData的注册,只能等待生命周期结束,自动移除LiveData的注册

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