Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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

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.