belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
RowsSupportFragment.MainFragmentAdapter
public
static
class
RowsSupportFragment.MainFragmentAdapter
extends MainFragmentAdapter<RowsSupportFragment>
java.lang.Object | ||
↳ | android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter<android.support.v17.leanback.app.RowsSupportFragment> | |
↳ | android.support.v17.leanback.app.RowsSupportFragment.MainFragmentAdapter |
Summary
Public constructors | |
---|---|
RowsSupportFragment.MainFragmentAdapter(RowsSupportFragment fragment)
|
Public methods | |
---|---|
boolean
|
isScrolling()
Returns whether its scrolling. |
void
|
onTransitionEnd()
Callback indicating transition end. |
boolean
|
onTransitionPrepare()
Callback indicating transition prepare start. |
void
|
onTransitionStart()
Callback indicating transition start. |
void
|
setAlignment(int windowAlignOffsetFromTop)
Sets the window alignment and also the pivots for scale operation. |
void
|
setEntranceTransitionState(boolean state)
For rows that willing to participate entrance transition, this function hide views if afterTransition is true, show views if afterTransition is false. |
void
|
setExpand(boolean expand)
Set the visibility of titles/hover card of browse rows. |
Inherited methods | |
---|---|
From
class
android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter
| |
From
class
java.lang.Object
|
Public constructors
RowsSupportFragment.MainFragmentAdapter
RowsSupportFragment.MainFragmentAdapter (RowsSupportFragment fragment)
Parameters | |
---|---|
fragment |
RowsSupportFragment |
Public methods
isScrolling
boolean isScrolling ()
Returns whether its scrolling.
Returns | |
---|---|
boolean |
onTransitionPrepare
boolean onTransitionPrepare ()
Callback indicating transition prepare start.
Returns | |
---|---|
boolean |
onTransitionStart
void onTransitionStart ()
Callback indicating transition start.
setAlignment
void setAlignment (int windowAlignOffsetFromTop)
Sets the window alignment and also the pivots for scale operation.
Parameters | |
---|---|
windowAlignOffsetFromTop |
int |
setEntranceTransitionState
void setEntranceTransitionState (boolean state)
For rows that willing to participate entrance transition, this function hide views if afterTransition is true, show views if afterTransition is false.
Parameters | |
---|---|
state |
boolean |
setExpand
void setExpand (boolean expand)
Set the visibility of titles/hover card of browse rows.
Parameters | |
---|---|
expand |
boolean |
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