MainFragmentRowsAdapter

open class MainFragmentRowsAdapter : BrowseFragment.MainFragmentRowsAdapter<RowsFragment!>
kotlin.Any
   ↳ androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapter<androidx.leanback.app.RowsFragment>
   ↳ androidx.leanback.app.RowsFragment.MainFragmentRowsAdapter

The adapter that RowsFragment implements BrowseFragment.MainFragmentRowsAdapter.

Summary

Public constructors
<init>(fragment: RowsFragment!)

Public methods
open Unit
setSelectedPosition(rowPosition: Int, smooth: Boolean, rowHolderTask: Presenter.ViewHolderTask!)

open Unit
setSelectedPosition(rowPosition: Int, smooth: Boolean)

open Unit

open Unit

open Unit

Sets an item clicked listener on the fragment.

open RowPresenter.ViewHolder!

open Int

Inherited functions

Public constructors

<init>

MainFragmentRowsAdapter(fragment: RowsFragment!)

Public methods

setSelectedPosition

open fun setSelectedPosition(rowPosition: Int, smooth: Boolean, rowHolderTask: Presenter.ViewHolderTask!): Unit

setSelectedPosition

open fun setSelectedPosition(rowPosition: Int, smooth: Boolean): Unit

setOnItemViewSelectedListener

open fun setOnItemViewSelectedListener(listener: OnItemViewSelectedListener!): Unit

setAdapter

open fun setAdapter(adapter: ObjectAdapter!): Unit

setOnItemViewClickedListener

open fun setOnItemViewClickedListener(listener: OnItemViewClickedListener!): Unit

Sets an item clicked listener on the fragment.

findRowViewHolderByPosition

open fun findRowViewHolderByPosition(position: Int): RowPresenter.ViewHolder!

getSelectedPosition

open fun getSelectedPosition(): Int