欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

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.