Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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.