DrawerBehavior icon indicating copy to clipboard operation
DrawerBehavior copied to clipboard

Fix peek persisting

Open rubensousa opened this issue 8 years ago • 0 comments

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 avatar Jun 06 '16 21:06 rubensousa