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

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.