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

DrawerItemClickListener

public interface DrawerItemClickListener

androidx.car.drawer.DrawerItemClickListener


Listener for handling clicks on items/views managed by DrawerItemViewHolder.

Summary

Public methods

abstract void onItemClick(int position)

Callback when item is clicked.

Public methods

onItemClick

void onItemClick (int position)

Callback when item is clicked.

Parameters
position int: Adapter position of the clicked item.