Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0
Deprecated since version 1.0.0

BrowseFragment.BrowseTransitionListener

public static class BrowseFragment.BrowseTransitionListener
extends Object

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


This class was deprecated in API level 1.0.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

Public constructors

BrowseFragment.BrowseTransitionListener

added in version 1.0.0
public BrowseFragment.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.