Google 致力于为黑人社区推动种族平等。查看具体举措

ViewHolder

open class ViewHolder : RecyclerView.ViewHolder, FacetProvider
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.ViewHolder
   ↳ androidx.leanback.widget.ItemBridgeAdapter.ViewHolder

ViewHolder for the ItemBridgeAdapter.

Summary

Public methods
Any!

Get extra object associated with the view.

open Any!
getFacet(facetClass: Class<*>!)

Any!

Get currently bound object.

Presenter!

Get Presenter.

Presenter.ViewHolder!

Get Presenter.ViewHolder.

open Unit
setExtraObject(object: Any!)

Set extra object associated with the view.

Inherited functions