RowsFragment

public class RowsFragment
extends Fragment implements BrowseFragment.MainFragmentRowsAdapterProvider, BrowseFragment.MainFragmentAdapterProvider

java.lang.Object
   ↳ android.app.Fragment
     ↳ androidx.leanback.app.RowsFragment


This class is deprecated.
use RowsSupportFragment

An ordered set of rows of leanback widgets.

A RowsFragment renders the elements of its ObjectAdapter as a set of rows in a vertical list. The Adapter's PresenterSelector must maintain subclasses of RowPresenter.

Summary

Nested classes

class RowsFragment.MainFragmentAdapter

 

class RowsFragment.MainFragmentRowsAdapter

This class is deprecated. use RowsSupportFragment  

Inherited constants

Public constructors

RowsFragment()

Public methods

void enableRowScaling(boolean enable)

This method is deprecated. use BrowseFragment.enableRowScaling(boolean) instead.

RowPresenter.ViewHolder findRowViewHolderByPosition(int position)

Find row ViewHolder by position in adapter.

final ObjectAdapter getAdapter()

Returns the Adapter that represents list of rows.