Skip to content

Instantly share code, notes, and snippets.

@mzgreen
Created February 15, 2015 11:19
Show Gist options
  • Save mzgreen/0faae3937a0b83086899 to your computer and use it in GitHub Desktop.
Save mzgreen/0faae3937a0b83086899 to your computer and use it in GitHub Desktop.
HideOnScrollExample - HidingScrollListener adding
if((controlsVisible && dy>0) || (!controlsVisible && dy<0)) {
scrolledDistance += dy;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment