added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-beta01

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

added in version 1.0.0
public BrowseSupportFragment.FragmentFactory ()

Public methods

createFragment

added in version 1.0.0
public abstract T createFragment (Object row)

Parameters
row Object

Returns
T