Skip to content

Instantly share code, notes, and snippets.

@VadimZhuk0v
Created April 24, 2019 20:35
Show Gist options
  • Save VadimZhuk0v/f0b74241dd7c160e19ee6effaa4fd0c6 to your computer and use it in GitHub Desktop.
Save VadimZhuk0v/f0b74241dd7c160e19ee6effaa4fd0c6 to your computer and use it in GitHub Desktop.
ValueAnimator.ofFloat(materialShapeDrawable.interpolation, finishState).apply {
addUpdateListener { materialShapeDrawable.interpolation = it.animatedValue as Float }
doOnEnd { fab.show() }
start()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment