第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧
added in version 26.1.0
belongs to Maven artifact com.android.support:wear:28.0.0-alpha1

WearableNavigationDrawerView.OnItemSelectedListener

public static interface WearableNavigationDrawerView.OnItemSelectedListener

android.support.wear.widget.drawer.WearableNavigationDrawerView.OnItemSelectedListener


Listener which is notified when the user selects an item.

Summary

Public methods

abstract void onItemSelected(int pos)

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

Public methods

onItemSelected

added in version 26.1.0
void onItemSelected (int pos)

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

Parameters
pos int