lightbulb_outline Please take our October 2018 developer survey. Start survey

belongs to Maven artifact androidx.car:car:1.0.0-alpha5

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