added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

RowsFragment.MainFragmentAdapter

public static class RowsFragment.MainFragmentAdapter
extends MainFragmentAdapter<RowsFragment>

java.lang.Object
   ↳ android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter<android.support.v17.leanback.app.RowsFragment>
     ↳ android.support.v17.leanback.app.RowsFragment.MainFragmentAdapter


Summary

Public constructors

RowsFragment.MainFragmentAdapter(RowsFragment 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.BrowseFragment.MainFragmentAdapter
From class java.lang.Object

Public constructors

RowsFragment.MainFragmentAdapter

added in version 24.1.0
RowsFragment.MainFragmentAdapter (RowsFragment fragment)

Parameters
fragment RowsFragment

Public methods

isScrolling

added in version 24.1.0
boolean isScrolling ()

Returns whether its scrolling.

Returns
boolean

onTransitionEnd

added in version 24.1.0
void onTransitionEnd ()

Callback indicating transition end.

onTransitionPrepare

added in version 24.1.0
boolean onTransitionPrepare ()

Callback indicating transition prepare start.

Returns
boolean

onTransitionStart

added in version 24.1.0
void onTransitionStart ()

Callback indicating transition start.

setAlignment

added in version 24.1.0
void setAlignment (int windowAlignOffsetFromTop)

Sets the window alignment and also the pivots for scale operation.

Parameters
windowAlignOffsetFromTop int

setEntranceTransitionState

added in version 24.1.0
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

added in version 24.1.0
void setExpand (boolean expand)

Set the visibility of titles/hover card of browse rows.

Parameters
expand boolean