public static class RowsFragment.MainFragmentAdapter extends BrowseFragment.MainFragmentAdapter<RowsFragment>
Constructor and Description |
---|
MainFragmentAdapter(RowsFragment fragment) |
Modifier and Type | Method and Description |
---|---|
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.
|
getFragment, getFragmentHost, isScalingEnabled, setScalingEnabled
public MainFragmentAdapter(RowsFragment fragment)
public boolean isScrolling()
BrowseFragment.MainFragmentAdapter
isScrolling
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public void setExpand(boolean expand)
BrowseFragment.MainFragmentAdapter
setExpand
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public void setEntranceTransitionState(boolean state)
BrowseFragment.MainFragmentAdapter
setEntranceTransitionState
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public void setAlignment(int windowAlignOffsetFromTop)
BrowseFragment.MainFragmentAdapter
setAlignment
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public boolean onTransitionPrepare()
BrowseFragment.MainFragmentAdapter
onTransitionPrepare
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public void onTransitionStart()
BrowseFragment.MainFragmentAdapter
onTransitionStart
in class BrowseFragment.MainFragmentAdapter<RowsFragment>
public void onTransitionEnd()
BrowseFragment.MainFragmentAdapter
onTransitionEnd
in class BrowseFragment.MainFragmentAdapter<RowsFragment>