# WearableListView.OnCenterProximityListener

`public static interface WearableListView.OnCenterProximityListener`
``

android.support.wearable.view.WearableListView.OnCenterProximityListener

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

### onCenterPosition

    void onCenterPosition (boolean animate)

Called when this view becomes central item of the WearableListView.

Parameters
`animate` | `boolean`: 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.

### onNonCenterPosition

    void onNonCenterPosition (boolean animate)

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

Parameters
`animate` | `boolean`: 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.

- ## Interfaces

  - ActionChooserView.ActionChooserListener
  - DelayedConfirmationView.DelayedConfirmationListener
  - GridPageOptions
  - GridPageOptions.BackgroundListener
  - GridViewPager.OnAdapterChangeListener
  - GridViewPager.OnPageChangeListener
  - WatchViewStub.OnLayoutInflatedListener
  - WearableListView.ClickListener
  - WearableListView.OnCenterProximityListener
  - WearableListView.OnCentralPositionChangedListener
  - WearableListView.OnScrollListener

- ## Classes

  - ActionChooserView
  - ActionLabel
  - ActionPage
  - BoxInsetLayout
  - BoxInsetLayout.LayoutParams
  - CardFragment
  - CardFrame
  - CardScrollView
  - CircledImageView
  - CircularButton
  - CrossfadeDrawable
  - DelayedConfirmationView
  - DismissOverlayView
  - DotsPageIndicator
  - FragmentGridPagerAdapter
  - GridPagerAdapter
  - GridViewPager
  - GridViewPager.LayoutParams
  - ProgressSpinner
  - SimpleAnimatorListener
  - WatchViewStub
  - WearableFrameLayout
  - WearableFrameLayout.LayoutParams
  - WearableListView
  - WearableListView.Adapter
  - WearableListView.ViewHolder