SeekbarListItem.ViewHolder

public static final class SeekbarListItem.ViewHolder
extends ListItem.ViewHolder implements OnUxRestrictionsChangedListener

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()
void onUxRestrictionsChanged(CarUxRestrictions restrictionsInfo)

Updates child views with current car UX restrictions.

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

onUxRestrictionsChanged

public void onUxRestrictionsChanged (CarUxRestrictions restrictionsInfo)

Updates child views with current car UX restrictions.

Text might be truncated to meet length limit required by regulation.

Parameters
restrictionsInfo CarUxRestrictions: current car UX restrictions.