BrowseTransitionListener

open class BrowseTransitionListener
kotlin.Any
   ↳ androidx.leanback.app.BrowseFragment.BrowseTransitionListener

Listener for transitions between browse headers and rows.

Summary

Public constructors

Listener for transitions between browse headers and rows.

Public methods

open Unit

Callback when headers transition starts.

open Unit

Callback when headers transition stops.

Public constructors

<init>

BrowseTransitionListener()

Deprecated: use BrowseSupportFragment

Listener for transitions between browse headers and rows.

Public methods

onHeadersTransitionStart

open fun onHeadersTransitionStart(withHeaders: Boolean): Unit

Callback when headers transition starts.

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

onHeadersTransitionStop

open fun onHeadersTransitionStop(withHeaders: Boolean): Unit

Callback when headers transition stops.

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