Skip to content

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)

// 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.

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

Successfully merging this pull request may close these issues.

4 participants