belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0
BrowseFragment.MainFragmentAdapterRegistry
public
static
final
class
BrowseFragment.MainFragmentAdapterRegistry
extends Object
java.lang.Object | |
↳ | android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapterRegistry |
This class was deprecated
in API level 27.1.0.
use BrowseSupportFragment
Registry class maintaining the mapping of Row
subclasses to BrowseFragment.FragmentFactory
.
BrowseRowFragment automatically registers BrowseFragment.ListRowFragmentFactory
for
handling ListRow
. Developers can override that and also if they want to
use custom fragment, they can register a custom BrowseFragment.FragmentFactory
against PageRow
.
Summary
Public constructors | |
---|---|
BrowseFragment.MainFragmentAdapterRegistry()
|
Public methods | |
---|---|
Fragment
|
createFragment(Object item)
|
void
|
registerFragment(Class rowClass, FragmentFactory factory)
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public constructors
BrowseFragment.MainFragmentAdapterRegistry
BrowseFragment.MainFragmentAdapterRegistry ()
Public methods
createFragment
Fragment createFragment (Object item)
Parameters | |
---|---|
item |
Object |
Returns | |
---|---|
Fragment |
registerFragment
void registerFragment (Class rowClass, FragmentFactory factory)
Parameters | |
---|---|
rowClass |
Class |
factory |
FragmentFactory |
Interfaces
- BrowseFragment.FragmentHost
- BrowseFragment.MainFragmentAdapterProvider
- BrowseFragment.MainFragmentRowsAdapterProvider
- BrowseSupportFragment.FragmentHost
- BrowseSupportFragment.MainFragmentAdapterProvider
- BrowseSupportFragment.MainFragmentRowsAdapterProvider
- HeadersFragment.OnHeaderClickedListener
- HeadersFragment.OnHeaderViewSelectedListener
- HeadersSupportFragment.OnHeaderClickedListener
- HeadersSupportFragment.OnHeaderViewSelectedListener
- SearchFragment.SearchResultProvider
- SearchSupportFragment.SearchResultProvider
Classes
- BackgroundManager
- BaseFragment
- BaseSupportFragment
- BrandedFragment
- BrandedSupportFragment
- BrowseFragment
- BrowseFragment.BrowseTransitionListener
- BrowseFragment.FragmentFactory
- BrowseFragment.ListRowFragmentFactory
- BrowseFragment.MainFragmentAdapter
- BrowseFragment.MainFragmentAdapterRegistry
- BrowseFragment.MainFragmentRowsAdapter
- BrowseSupportFragment
- BrowseSupportFragment.BrowseTransitionListener
- BrowseSupportFragment.FragmentFactory
- BrowseSupportFragment.ListRowFragmentFactory
- BrowseSupportFragment.MainFragmentAdapter
- BrowseSupportFragment.MainFragmentAdapterRegistry
- BrowseSupportFragment.MainFragmentRowsAdapter
- DetailsFragment
- DetailsFragmentBackgroundController
- DetailsSupportFragment
- DetailsSupportFragmentBackgroundController
- ErrorFragment
- ErrorSupportFragment
- GuidedStepFragment
- GuidedStepSupportFragment
- HeadersFragment
- HeadersSupportFragment
- OnboardingFragment
- OnboardingSupportFragment
- PlaybackFragment
- PlaybackFragmentGlueHost
- PlaybackSupportFragment
- PlaybackSupportFragmentGlueHost
- ProgressBarManager
- RowsFragment
- RowsFragment.MainFragmentAdapter
- RowsFragment.MainFragmentRowsAdapter
- RowsSupportFragment
- RowsSupportFragment.MainFragmentAdapter
- RowsSupportFragment.MainFragmentRowsAdapter
- SearchFragment
- SearchSupportFragment
- VerticalGridFragment
- VerticalGridSupportFragment
- VideoFragment
- VideoFragmentGlueHost
- VideoSupportFragment
- VideoSupportFragmentGlueHost