belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
BrowseSupportFragment.FragmentHost
public
static
interface
BrowseSupportFragment.FragmentHost
android.support.v17.leanback.app.BrowseSupportFragment.FragmentHost |
Possible set of actions that BrowseSupportFragment
exposes to clients. Custom
fragments can interact with BrowseSupportFragment
using this interface.
Summary
Public methods | |
---|---|
abstract
void
|
notifyDataReady(MainFragmentAdapter fragmentAdapter)
Fragments mapped to |
abstract
void
|
notifyViewCreated(MainFragmentAdapter fragmentAdapter)
Fragments are required to invoke this callback once their view is created
inside |
abstract
void
|
showTitleView(boolean show)
Show or hide title view in |
Public methods
notifyDataReady
void notifyDataReady (MainFragmentAdapter fragmentAdapter)
Fragments mapped to PageRow
are required to invoke this callback once their data
is created for transition, the entrance animation only after receiving this callback.
Failure to invoke this method will lead to fragment not showing up.
Parameters | |
---|---|
fragmentAdapter |
MainFragmentAdapter : BrowseSupportFragment.MainFragmentAdapter used by the current fragment.
|
notifyViewCreated
void notifyViewCreated (MainFragmentAdapter fragmentAdapter)
Fragments are required to invoke this callback once their view is created
inside onViewCreated(View, Bundle)
method. BrowseSupportFragment
starts the entrance
animation only after receiving this callback. Failure to invoke this method
will lead to fragment not showing up.
Parameters | |
---|---|
fragmentAdapter |
MainFragmentAdapter : BrowseSupportFragment.MainFragmentAdapter used by the current fragment.
|
showTitleView
void showTitleView (boolean show)
Show or hide title view in BrowseSupportFragment
for fragments mapped to
PageRow
. Otherwise the request is ignored, in that case BrowseSupportFragment is fully
in control of showing/hiding title view.
When HeadersSupportFragment is visible, BrowseSupportFragment will hide search affordance view if there are other focusable rows above currently focused row.
Parameters | |
---|---|
show |
boolean : Boolean indicating whether or not to show the title view.
|
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