FragmentFactory
abstract classFragmentFactory<T : Fragment!>
kotlin.Any | |
↳ | androidx.leanback.app.BrowseFragment.FragmentFactory |
Factory class responsible for creating fragment given the current item. ListRow
should return RowsFragment
or its subclass whereas PageRow
can return any fragment class.
Summary
Public constructors | |
---|---|
<init>() Factory class responsible for creating fragment given the current item. |
Public methods | |
---|---|
abstract T |
createFragment(row: Any!) |
Public constructors
<init>
FragmentFactory()
Deprecated: use BrowseSupportFragment
Factory class responsible for creating fragment given the current item. ListRow
should return RowsFragment
or its subclass whereas PageRow
can return any fragment class.
Public methods
createFragment
abstract fun createFragment(row: Any!): T