Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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