postOnAnimation

open fun postOnAnimation(action: Runnable)(source)

Causes the Runnable to execute on the next animation time step. The runnable will be run on the user interface thread.

Calling this method when LayoutManager is not attached to a RecyclerView has no effect.

Parameters

action

The Runnable that will be executed.

See also