MainFragmentRowsAdapter

open class MainFragmentRowsAdapter : BrowseSupportFragment.MainFragmentRowsAdapter<RowsSupportFragment!>
kotlin.Any
   ↳ androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter<androidx.leanback.app.RowsSupportFragment>
   ↳ androidx.leanback.app.RowsSupportFragment.MainFragmentRowsAdapter

The adapter that RowsSupportFragment implements BrowseSupportFragment.MainFragmentRowsAdapter.

Summary

Public constructors

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: RowsSupportFragment!)

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