Skip to content

Instantly share code, notes, and snippets.

@fercarcedo
Created March 19, 2020 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fercarcedo/3f408c1e268c0d4f6727436158299be5 to your computer and use it in GitHub Desktop.
Save fercarcedo/3f408c1e268c0d4f6727436158299be5 to your computer and use it in GitHub Desktop.
scrollView.viewTreeObserver.addOnScrollChangedListener {
animationController?.setInsetsAndAlpha(Insets.of(0, 0, 0, scrollView.scrollY), 1f, 0f)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment