Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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.