Register now for Android Dev Summit 2019!

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.