Google 致力于为黑人社区推动种族平等。查看具体举措

WearableListView.ClickListener

public static interface WearableListView.ClickListener

android.support.wearable.view.WearableListView.ClickListener


Interface for listening for click events on WearableListView.

Summary

Public methods

abstract void onClick(WearableListView.ViewHolder view)

Called when the central child of the WearableListView is tapped.

abstract void onTopEmptyRegionClick()

Called when the user taps the top third of the WearableListView and no item is present there.

Public methods

onClick

void onClick (WearableListView.ViewHolder view)

Called when the central child of the WearableListView is tapped.

Parameters
view WearableListView.ViewHolder: View that was clicked.

onTopEmptyRegionClick

void onTopEmptyRegionClick ()

Called when the user taps the top third of the WearableListView and no item is present there. This can happen when you are in initial state and the first, top-most item of the WearableListView is centered.