lightbulb_outline Please take our October 2018 developer survey. Start survey

WearableListView.OnCentralPositionChangedListener

public static interface WearableListView.OnCentralPositionChangedListener

android.support.wearable.view.WearableListView.OnCentralPositionChangedListener


A listener interface that can be added to the WearableListView to get notified when the central item is changed.

Summary

Public methods

abstract void onCentralPositionChanged(int centralPosition)

Called when the central item of the WearableListView changes.

Public methods

onCentralPositionChanged

void onCentralPositionChanged (int centralPosition)

Called when the central item of the WearableListView changes.

Parameters
centralPosition int: Position of the item in the Adapter.