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

[Insets] Fix attach state change listener not being removed #365

Merged
merged 1 commit into from
Apr 24, 2021

Conversation

chrisbanes
Copy link
Contributor

We were accidentally adding a new attach listener every time, which meant that the one being removed wasn't actually attached.

Fixes #364

We were accidentally adding a new attach listener every
time, which meant that the one being removed wasn't actually
attached.

Fixes #364
@google-cla google-cla bot added the cla: yes label Apr 24, 2021
@chrisbanes chrisbanes changed the title Fix attach state change listener not being removed [Insets] Fix attach state change listener not being removed Apr 24, 2021
@chrisbanes chrisbanes merged commit 67fbde1 into main Apr 24, 2021
@chrisbanes chrisbanes deleted the cb/insets-attach branch April 24, 2021 11:14
copybara-service bot pushed a commit to androidx/androidx that referenced this pull request Apr 26, 2021
Bug: 179787782
Test: Existing tests, run on device

Relnote: "Updated Compose Material catalog insets implementation from: google/accompanist#365."
Change-Id: I25dc3d73bdf3245036a6299efe11f9c7a2de14df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WindowInsets] Added View.OnAttachStateChangeListener object is not removed at stop() method.
1 participant