public 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

Overview

Holds views of SeekbarListItem.

Summary

Fields
from RecyclerView.ViewHolderitemView
Constructors
publicViewHolder(View itemView)

Methods
public ViewGroupgetContainerLayout()

public ImageViewgetPrimaryIcon()

public SeekBargetSeekBar()

public ImageViewgetSupplementalIcon()

public ViewgetSupplementalIconDivider()

public TextViewgetText()

public voidonUxRestrictionsChanged(CarUxRestrictions restrictionsInfo)

Updates child views with current car UX restrictions.

from ListItem.ViewHolderaddCleanUp, cleanUp
from RecyclerView.ViewHoldergetAbsoluteAdapterPosition, getAdapterPosition, getBindingAdapter, getBindingAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public ViewHolder(View itemView)

Methods

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: current car UX restrictions.

public ViewGroup getContainerLayout()

public ImageView getPrimaryIcon()

public TextView getText()

public SeekBar getSeekBar()

public ImageView getSupplementalIcon()

public View getSupplementalIconDivider()