startAnimation

open fun startAnimation(@NonNull animation: Animation, messageId: Long)

Animates the view holder with the corresponding message id.

Parameters

animation

Animation you want to apply to the view holder

messageId

Message id of the view holder to be applied


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