Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bugfix Flipboard/bottomsheet#134 #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

odyodyodys
Copy link

This is to address #134 that makes it impossible to attach state handlers to the later view when switching bottomsheet views (calling showWithSheetView when there is already a view in peek or expanded states)

@@ -716,7 +716,6 @@ public void onAnimationEnd(Animator animation) {
// Remove sheet specific properties
viewTransformer = null;
onSheetDismissedListeners.clear();
onSheetStateChangeListeners.clear();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense. We'll have to update the documentation to make it clear that callers need to remove their listeners. We should also mention that in the change log.

@meierjan
Copy link
Contributor

meierjan commented Jul 7, 2016

@odyodyodys will you work on this?

@ZacSweers
Copy link
Contributor

We could fold this in as part of #122 if I could get some reviewers

@odyodyodys
Copy link
Author

@meierjan not at the moment sorry but is there more to do? For me this 1 line change is enough.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants