RowsSupportFragment.MainFragmentRowsAdapter

public static class RowsSupportFragment.MainFragmentRowsAdapter
extends MainFragmentRowsAdapter<RowsSupportFragment>

java.lang.Object
   ↳ androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter<androidx.leanback.app.RowsSupportFragment>
     ↳ androidx.leanback.app.RowsSupportFragment.MainFragmentRowsAdapter


The adapter that RowsSupportFragment implements BrowseSupportFragment.MainFragmentRowsAdapter.

Summary

Public constructors

MainFragmentRowsAdapter(RowsSupportFragment fragment)

Public methods

RowPresenter.ViewHolder findRowViewHolderByPosition(int position)
int getSelectedPosition()
void setAdapter(ObjectAdapter adapter)

Set the visibility titles/hover of browse rows.

void setOnItemViewClickedListener(OnItemViewClickedListener listener)

Sets an item clicked listener on the fragment.

void setOnItemViewSelectedListener(OnItemViewSelectedListener listener)

Sets an item selection listener.

void setSelectedPosition(int rowPosition, boolean smooth)

Selects a Row.

void setSelectedPosition(int rowPosition, boolean smooth, Presenter.ViewHolderTask rowHolderTask)

Selects a Row and perform an optional task on the Row.

Inherited methods