Skip to content

AnimationUtils

Shanti Ranjan Das edited this page Apr 15, 2020 · 2 revisions
  • circularRevealEnter() Creates a material style circular reveal entrance animation similar to the one in Google Play. Just call method by view..

  • circularRevealExit()
    Creates a material style circular reveal exit animation similar to the one in Google Play. Just call method by view..

  • startPulseAnimation(scaleX: Float = 1.2f, scaleY: Float = 1.2f, duration: Long = 300L)
    Creates a pulse animation style over a view, all the values are default. You can change the values if you want. Just call method by **view.

  • startAnimation(animId: Int) Provide the animation and view , to start the animation, pass anim id like R.anim. and view on which animation is to be performed. It will run in main thread.

  • startAnimation(animation: Animation) Provide the animation and view , to start the animation, pass animation and view on which animation is to be performed. It will run in main thread.

  • startAnimationInSeparateThread(animId: Int) Provide the animation and view , to start the animation, pass anim id like R.anim.. Just call method by view.

  • startAnimationInSeparateThread(animation: Animation) Provide the animation and view , to start the animation, pass animation. Just call method by view..

Clone this wiki locally