lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0

BrowseFragment.BrowseTransitionListener

public static class BrowseFragment.BrowseTransitionListener
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.app.BrowseFragment.BrowseTransitionListener


This class was deprecated in API level 27.1.0.
use BrowseSupportFragment

Listener for transitions between browse headers and rows.

Summary

Public constructors

BrowseFragment.BrowseTransitionListener()

Public methods

void onHeadersTransitionStart(boolean withHeaders)

Callback when headers transition starts.

void onHeadersTransitionStop(boolean withHeaders)

Callback when headers transition stops.

Inherited methods

From class java.lang.Object

Public constructors

BrowseFragment.BrowseTransitionListener

added in version 22.1.0
BrowseFragment.BrowseTransitionListener ()

Public methods

onHeadersTransitionStart

added in version 22.1.0
void onHeadersTransitionStart (boolean withHeaders)

Callback when headers transition starts.

Parameters
withHeaders boolean: True if the transition will result in headers being shown, false otherwise.

onHeadersTransitionStop

added in version 22.1.0
void onHeadersTransitionStop (boolean withHeaders)

Callback when headers transition stops.

Parameters
withHeaders boolean: True if the transition will result in headers being shown, false otherwise.