Skip to content

Fixed Bug: SlidingUpPanelLayout ignores setPanelState() #830

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

Merged
merged 1 commit into from
Sep 17, 2017

Conversation

WurstMitDurst
Copy link

setPanelState() does ignore any call, if a sliding animation is in progress.

This means: When calling
setPanelState(SlidingUpPanelLayout.PanelState.EXPANDED
immediately followed by
setPanelState(SlidingUpPanelLayout.PanelState.HIDDEN),
the SlidingUpPanelLayout does ignore the second call, if the animation of the first one is still running.

(At least for me) This commit fixes this.

@tokudu
Copy link
Contributor

tokudu commented Sep 17, 2017

Thanks! Merging

@tokudu tokudu merged commit a96cfcb into umano:master Sep 17, 2017
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.

2 participants