public static interface

WearableListView.OnCenterProximityListener

android.support.wearable.view.WearableListView.OnCenterProximityListener

Class Overview

Interface for receiving callbacks when WearableListView children become or cease to be the central item.

Summary

Public Methods
abstract void onCenterPosition(boolean animate)
Called when this view becomes central item of the WearableListView.
abstract void onNonCenterPosition(boolean animate)
Called when this view stops being the central item of the WearableListView.

Public Methods

public abstract void onCenterPosition (boolean animate)

Called when this view becomes central item of the WearableListView.

Parameters
animate Whether you should animate your transition of the View to become the central item. If false, this is the initial setting and you should transition immediately.

public abstract void onNonCenterPosition (boolean animate)

Called when this view stops being the central item of the WearableListView.

Parameters
animate Whether you should animate your transition of the View to being non central item. If false, this is the initial setting and you should transition immediately.