Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ItemAnimatorFinishedListener

interface ItemAnimatorFinishedListener
androidx.recyclerview.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener

This interface is used to inform listeners when all pending or running animations in an ItemAnimator are finished. This can be used, for example, to delay an action in a data set until currently-running animations are complete.

Summary

Public methods

abstract Unit

Notifies when all pending or running animations in an ItemAnimator are finished.

Public methods

onAnimationsFinished

abstract fun onAnimationsFinished(): Unit

Notifies when all pending or running animations in an ItemAnimator are finished.