RowsFragment.MainFragmentRowsAdapter

public static class RowsFragment.MainFragmentRowsAdapter
extends MainFragmentRowsAdapter<RowsFragment>

java.lang.Object
   ↳ androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapter<androidx.leanback.app.RowsFragment>
     ↳ androidx.leanback.app.RowsFragment.MainFragmentRowsAdapter


This class is deprecated.
use RowsSupportFragment

The adapter that RowsFragment implements BrowseFragment.MainFragmentRowsAdapter.

Summary

Public constructors

MainFragmentRowsAdapter(RowsFragment 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