animate
open fun animate(@NonNull view: View, @AnimatorRes animatorRes: Int, @Nullable listener: AnimatorUtils.OnAnimationEndListener)
Animate a view from an animator resource.
Parameters
view
the view to be animated
animator Res
the animator resource to be loaded
listener
the animator end listener
open fun animate(@Nullable view: View, @AnimatorRes animatorRes: Int, duration: Int, @Nullable listener: AnimatorUtils.OnAnimationEndListener)
Animate a view from an animator resource.
Parameters
view
the view to be animated
animator Res
the animator resource to be loaded
duration
the duration of the animator
listener
the animator end listener
Animate a view from an animator resource.
Parameters
view
the view to be animated
animator Res
the animator resource to be loaded
Animate a view from an animator resource.
Parameters
view
the view to be animated
animator Res
the animator resource to be loaded
duration
the duration of the animator