BrowseTransitionListener

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

Listener for transitions between browse headers and rows.

Summary

Public constructors

Public methods
open Unit

Callback when headers transition starts.

open Unit

Callback when headers transition stops.

Public constructors

<init>

BrowseTransitionListener()

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.