Android 11 开发者预览版现已推出;快来测试并分享您的反馈吧

ViewHolderTask

public interface ViewHolderTask

androidx.leanback.widget.ViewHolderTask


Interface for schedule task on a ViewHolder.

Summary

Public methods

abstract void run(RecyclerView.ViewHolder viewHolder)

Public methods

run

public abstract void run (RecyclerView.ViewHolder viewHolder)

Parameters
viewHolder RecyclerView.ViewHolder