Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Fix peek persisting #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix peek persisting #18

wants to merge 3 commits into from

Conversation

rubensousa
Copy link

@rubensousa rubensousa commented Jun 6, 2016

Fix for #11.

When the drawer state is idle (ViewDragHelper.STATE_IDLE), I'm checking if onScreen is less than 1 but not 0. I noticed that it was 0.1 when it was persisting.

Although I'm not sure if this is the right way to fix this, it seems to work. The peek is kind of dismissed.

@rubensousa rubensousa changed the title Fix peek persisting #11 Fix peek persisting Jun 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant