TitleHelper
public class 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 |
|---|
TitleHelper(ViewGroup sceneRoot, View titleView) |
Public methods |
|
|---|---|
BrowseFrameLayout.OnFocusSearchListener |
Returns a |
ViewGroup |
Returns the scene root ViewGroup. |
View |
Returns the |
void |
showTitle(boolean show)Shows the title. |
Public constructors
Public methods
getOnFocusSearchListener
public BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener()
Returns a androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener which may be used to manage focus switching between the title view and scene root.