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 |
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/hovercard of browse rows. |
Inherited methods | |
---|---|
From
class
android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter
| |
From
class
java.lang.Object
|
RowsSupportFragment.MainFragmentAdapter (RowsSupportFragment fragment)
Parameters | |
---|---|
fragment |
RowsSupportFragment
|
boolean isScrolling ()
Returns whether its scrolling.
Returns | |
---|---|
boolean |
void onTransitionEnd ()
Callback indicating transition end.
boolean onTransitionPrepare ()
Callback indicating transition prepare start.
Returns | |
---|---|
boolean |
void onTransitionStart ()
Callback indicating transition start.
void setAlignment (int windowAlignOffsetFromTop)
Sets the window alignment and also the pivots for scale operation.
Parameters | |
---|---|
windowAlignOffsetFromTop |
int
|
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
|
void setExpand (boolean expand)
Set the visibility of titles/hovercard of browse rows.
Parameters | |
---|---|
expand |
boolean
|