Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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

public abstract void onItemClick (int position)

Callback when item is clicked.

Parameters
position int: Adapter position of the clicked item.