added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-beta01

BrowseSupportFragment.BrowseTransitionListener

public static class BrowseSupportFragment.BrowseTransitionListener
extends Object

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


Listener for transitions between browse headers and rows.

Summary

Public constructors

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

BrowseSupportFragment.BrowseTransitionListener

added in version 1.0.0
public BrowseSupportFragment.BrowseTransitionListener ()

Public methods

onHeadersTransitionStart

added in version 1.0.0
public 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 1.0.0
public void onHeadersTransitionStop (boolean withHeaders)

Callback when headers transition stops.

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