Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

BrowseSupportFragment.FragmentFactory

public static abstract class BrowseSupportFragment.FragmentFactory
extends Object

java.lang.Object
   ↳ androidx.leanback.app.BrowseSupportFragment.FragmentFactory<T extends androidx.fragment.app.Fragment>


Factory class responsible for creating fragment given the current item. ListRow should return RowsSupportFragment or its subclass whereas PageRow can return any fragment class.

Summary

Public constructors

BrowseSupportFragment.FragmentFactory()

Public methods

abstract T createFragment(Object row)

Inherited methods

Public constructors

BrowseSupportFragment.FragmentFactory

public BrowseSupportFragment.FragmentFactory ()

Public methods

createFragment

public abstract T createFragment (Object row)

Parameters
row Object

Returns
T