Google 致力于为黑人社区推动种族平等。查看具体举措

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

FragmentFactory()

Public methods

abstract T createFragment(Object row)

Inherited methods

Public constructors

FragmentFactory

public FragmentFactory ()

Public methods

createFragment

public abstract T createFragment (Object row)

Parameters
row Object

Returns
T