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

ListItem.ViewBinder

public static interface ListItem.ViewBinder

androidx.car.widget.ListItem.ViewBinder<VH>


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 void bind(VH viewHolder)

Provides a way to interact with views in view holder.

Public methods

bind

public abstract void bind (VH viewHolder)

Provides a way to interact with views in view holder.

Parameters
viewHolder VH