Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

RadioButtonListItem.ViewHolder

public static final class RadioButtonListItem.ViewHolder
extends ListItem.ViewHolder

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


Holds views of RadioButtonListItem.

Summary

Inherited fields

Public constructors

RadioButtonListItem.ViewHolder(View itemView)

Public methods

ViewGroup getContainerLayout()
ImageView getPrimaryIcon()
RadioButton getRadioButton()
View getRadioButtonDivider()
TextView getText()
void onUxRestrictionsChanged(CarUxRestrictions restrictionInfo)

Inherited methods

Public constructors

RadioButtonListItem.ViewHolder

public RadioButtonListItem.ViewHolder (View itemView)

Parameters
itemView View

Public methods

getContainerLayout

public ViewGroup getContainerLayout ()

Returns
ViewGroup

getPrimaryIcon

public ImageView getPrimaryIcon ()

Returns
ImageView

getRadioButton

public RadioButton getRadioButton ()

Returns
RadioButton

getRadioButtonDivider

public View getRadioButtonDivider ()

Returns
View

getText

public TextView getText ()

Returns
TextView

onUxRestrictionsChanged

public void onUxRestrictionsChanged (CarUxRestrictions restrictionInfo)

Parameters
restrictionInfo CarUxRestrictions