belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

ListRowHoverCardView

public final class ListRowHoverCardView
extends LinearLayout

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ androidx.leanback.widget.ListRowHoverCardView


ListRowHoverCardView contains a title and description.

Summary

Inherited constants

Inherited fields

Public constructors

ListRowHoverCardView(Context context)
ListRowHoverCardView(Context context, AttributeSet attrs)
ListRowHoverCardView(Context context, AttributeSet attrs, int defStyle)

Public methods

CharSequence getDescription()

Returns the description text.

CharSequence getTitle()

Returns the title text.

void setDescription(CharSequence text)

Sets the description text.

void setTitle(CharSequence text)

Sets the title text.

Inherited methods

Public constructors

ListRowHoverCardView

ListRowHoverCardView (Context context)

Parameters
context Context

ListRowHoverCardView

ListRowHoverCardView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

ListRowHoverCardView

ListRowHoverCardView (Context context, 
                AttributeSet attrs, 
                int defStyle)

Parameters
context Context

attrs AttributeSet

defStyle int

Public methods

getDescription

CharSequence getDescription ()

Returns the description text.

Returns
CharSequence

getTitle

CharSequence getTitle ()

Returns the title text.

Returns
CharSequence

setDescription

void setDescription (CharSequence text)

Sets the description text.

Parameters
text CharSequence

setTitle

void setTitle (CharSequence text)

Sets the title text.

Parameters
text CharSequence