ViewBinder

interface ViewBinder<VH : Any!>
androidx.car.widget.ListItem.ViewBinder

Functional interface to provide a way to interact with views in ViewHolder. ListItem calls all added ViewBinders when it binds to ViewHolder.

Summary

Public methods

abstract Unit
bind(viewHolder: VH)

Provides a way to interact with views in view holder.

Public methods

bind

abstract fun bind(viewHolder: VH): Unit

Provides a way to interact with views in view holder.