The Android Developer Challenge is back! Submit your idea before December 2.

ViewHolder

class ViewHolder : ListItem.ViewHolder
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.ViewHolder
   ↳ androidx.car.widget.ListItem.ViewHolder
   ↳ androidx.car.widget.RadioButtonListItem.ViewHolder

Holds views of RadioButtonListItem.

Summary

Public constructors

<init>(@NonNull itemView: View)

Public methods

ViewGroup

ImageView

RadioButton

View

TextView

Unit

Inherited functions

Inherited properties

Public constructors

<init>

ViewHolder(@NonNull itemView: View)

Public methods

getContainerLayout

@NonNull fun getContainerLayout(): ViewGroup

getPrimaryIcon

@NonNull fun getPrimaryIcon(): ImageView

getRadioButton

@NonNull fun getRadioButton(): RadioButton

getRadioButtonDivider

@NonNull fun getRadioButtonDivider(): View

getText

@NonNull fun getText(): TextView

onUxRestrictionsChanged

fun onUxRestrictionsChanged(restrictionInfo: CarUxRestrictions!): Unit