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

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

RelativeLayout getContainerLayout()
ImageView getPrimaryIcon()
SeekBar getSeekBar()
LinearLayout getSeekBarContainer()
ImageView getSupplementalIcon()
View getSupplementalIconDivider()
TextView getText()

Protected methods

void complyWithUxRestrictions(CarUxRestrictions restrictions)

Update children views to comply with UX restriction changes.

Inherited methods

Public constructors

SeekbarListItem.ViewHolder

SeekbarListItem.ViewHolder (View itemView)

Parameters
itemView View

Public methods

getContainerLayout

RelativeLayout getContainerLayout ()

Returns
RelativeLayout

getPrimaryIcon

ImageView getPrimaryIcon ()

Returns
ImageView

getSeekBar

SeekBar getSeekBar ()

Returns
SeekBar

getSeekBarContainer

LinearLayout getSeekBarContainer ()

Returns
LinearLayout

getSupplementalIcon

ImageView getSupplementalIcon ()

Returns
ImageView

getSupplementalIconDivider

View getSupplementalIconDivider ()

Returns
View

getText

TextView getText ()

Returns
TextView

Protected methods

complyWithUxRestrictions

void complyWithUxRestrictions (CarUxRestrictions restrictions)

Update children views to comply with UX restriction changes.

Parameters
restrictions CarUxRestrictions: current car UX restrictions.