SeekbarListItem.ViewHolder

public static class SeekbarListItem.ViewHolder
extends ListItem.ViewHolder

java.lang.Object
   ↳ androidx.recyclerview.widget.RecyclerView.ViewHolder
     ↳ androidx.car.widget.ListItem.ViewHolder
       ↳ androidx.car.widget.SeekbarListItem.ViewHolder


Holds views of SeekbarListItem.

Summary

Inherited fields

Public constructors

SeekbarListItem.ViewHolder(View itemView)

Public methods

ViewGroup getContainerLayout()
ImageView getPrimaryIcon()
SeekBar getSeekBar()
ImageView getSupplementalIcon()
View getSupplementalIconDivider()
TextView getText()
View[] getWidgetViews()

Protected methods

void applyUxRestrictions(CarUxRestrictions restrictions)

Applies UX restriction changes to child views.

Inherited methods

Public constructors

SeekbarListItem.ViewHolder

public SeekbarListItem.ViewHolder (View itemView)

Parameters
itemView View

Public methods

getContainerLayout

public ViewGroup getContainerLayout ()

Returns
ViewGroup

getPrimaryIcon

public ImageView getPrimaryIcon ()

Returns
ImageView

getSeekBar

public SeekBar getSeekBar ()

Returns
SeekBar

getSupplementalIcon

public ImageView getSupplementalIcon ()

Returns
ImageView

getSupplementalIconDivider

public View getSupplementalIconDivider ()

Returns
View

getText

public TextView getText ()

Returns
TextView

getWidgetViews

public View[] getWidgetViews ()

Returns
View[]

Protected methods

applyUxRestrictions

protected void applyUxRestrictions (CarUxRestrictions restrictions)

Applies UX restriction changes to child views.

Parameters
restrictions CarUxRestrictions: current car UX restrictions.