WearableListView.ClickListener

public static interface WearableListView.ClickListener

android.support.wearable.view.WearableListView.ClickListener


This interface is deprecated.
for centering and snapping your list items consider using the WearableRecyclerView supported by a SnapHelper or the LinearSnapHelper. For scaling and otherwise modifying the list items based on their location on the screen consider using an WearableRecyclerView.ChildLayoutManager or the CurvedChildLayoutManager.

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

public abstract void onClick (WearableListView.ViewHolder view)

Called when the central child of the WearableListView is tapped.

Parameters
view WearableListView.ViewHolder: View that was clicked.

onTopEmptyRegionClick

public abstract 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.