lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. 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.