belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

BrowseFragment.BrowseTransitionListener

public static class BrowseFragment.BrowseTransitionListener
extends Object

java.lang.Object
   ↳ androidx.leanback.app.BrowseFragment.BrowseTransitionListener


This class is deprecated.
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

Public constructors

BrowseFragment.BrowseTransitionListener

BrowseFragment.BrowseTransitionListener ()

Public methods

onHeadersTransitionStart

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

void onHeadersTransitionStop (boolean withHeaders)

Callback when headers transition stops.

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