DrawerBehavior
DrawerBehavior copied to clipboard
Fix peek persisting
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.