belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

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

BrowseSupportFragment.FragmentFactory ()

Public methods

createFragment

T createFragment (Object row)

Parameters
row Object

Returns
T