public class

RowsSupportFragment.MainFragmentAdapter

extends BrowseSupportFragment.MainFragmentAdapter<RowsSupportFragment>

 java.lang.Object

androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter<RowsSupportFragment>

↳androidx.leanback.app.RowsSupportFragment.MainFragmentAdapter

Summary

Constructors
publicMainFragmentAdapter(RowsSupportFragment fragment)

Methods
public booleanisScrolling()

Returns whether its scrolling.

public voidonTransitionEnd()

Callback indicating transition end.

public booleanonTransitionPrepare()

Callback indicating transition prepare start.

public voidonTransitionStart()

Callback indicating transition start.

public voidsetAlignment(int windowAlignOffsetFromTop)

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

public voidsetEntranceTransitionState(boolean state)

For rows that willing to participate entrance transition, this function hide views if afterTransition is true, show views if afterTransition is false.

public voidsetExpand(boolean expand)

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

from BrowseSupportFragment.MainFragmentAdapter<T>getFragment, getFragmentHost, isScalingEnabled, setScalingEnabled
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public MainFragmentAdapter(RowsSupportFragment fragment)

Methods

public boolean isScrolling()

Returns whether its scrolling.

public void setExpand(boolean expand)

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

public 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.

public void setAlignment(int windowAlignOffsetFromTop)

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

public boolean onTransitionPrepare()

Callback indicating transition prepare start.

public void onTransitionStart()

Callback indicating transition start.

public void onTransitionEnd()

Callback indicating transition end.