Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

ViewHolderTask

abstract class ViewHolderTask
kotlin.Any
   ↳ androidx.leanback.widget.Presenter.ViewHolderTask

Base class to perform a task on Presenter.ViewHolder.

Summary

Public constructors

Base class to perform a task on Presenter.

Public methods
open Unit

Called to perform a task on view holder.

Public constructors

<init>

ViewHolderTask()

Base class to perform a task on Presenter.ViewHolder.

Public methods

run

open fun run(holder: Presenter.ViewHolder!): Unit

Called to perform a task on view holder.

Parameters
holder Presenter.ViewHolder!: The view holder to perform task.