Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

TitleHelper

open class TitleHelper
kotlin.Any
   ↳ androidx.leanback.widget.TitleHelper

Helper for managing androidx.leanback.widget.TitleView, including transitions and focus movement. Assumes the TitleView is overlayed on the topmost portion of the scene root view.

Summary

Public constructors
<init>(sceneRoot: ViewGroup!, titleView: View!)

Public methods
open BrowseFrameLayout.OnFocusSearchListener!

Returns a androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener which may be used to manage focus switching between the title view and scene root.

open ViewGroup!

Returns the scene root ViewGroup.

open View!

Returns the TitleView

open Unit

Shows the title.

Public constructors

<init>

TitleHelper(
    sceneRoot: ViewGroup!,
    titleView: View!)

Public methods

getOnFocusSearchListener

open fun getOnFocusSearchListener(): BrowseFrameLayout.OnFocusSearchListener!

Returns a androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener which may be used to manage focus switching between the title view and scene root.

getSceneRoot

open fun getSceneRoot(): ViewGroup!

Returns the scene root ViewGroup.

getTitleView

open fun getTitleView(): View!

Returns the TitleView

showTitle

open fun showTitle(show: Boolean): Unit

Shows the title.