Skip to content

Instantly share code, notes, and snippets.

@fercarcedo
Last active March 19, 2020 17:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fercarcedo/c7d77f666b5e942a787c2fcd098d5e42 to your computer and use it in GitHub Desktop.
val listener = object : WindowInsetsAnimationControlListener {
override fun onCancelled() {
animationController = null
}
override fun onReady(controller: WindowInsetsAnimationController, types: Int) {
animationController = controller
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment