ViewHolderTask

abstract class ViewHolderTask(val executeWhenAligned: Boolean = false)

Task that's scheduled and executed when a ViewHolder is selected

Parameters

executeWhenAligned

if this task should only be executed when a ViewHolder is aligned to its final position, or false if it should be executed immediately after the selection

Constructors

Link copied to clipboard
constructor(executeWhenAligned: Boolean = false)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun execute(viewHolder: RecyclerView.ViewHolder)