startAnimation

open fun startAnimation(@NonNull animation: Animation, position: Int)

Animates the view holder with the corresponding position.

Parameters

animation

Animation you want to apply to the view holder

position

Position of the view holder to be applied