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

OnItemSelectedListener

interface OnItemSelectedListener
androidx.wear.widget.drawer.WearableNavigationDrawerView.OnItemSelectedListener

Listener which is notified when the user selects an item.

Summary

Public methods

abstract Unit

Notified when the user has selected an item at position pos.

Public methods

onItemSelected

abstract fun onItemSelected(pos: Int): Unit

Notified when the user has selected an item at position pos.