WearableListView.OnCentralPositionChangedListener
  public
  static
  
  
  interface
  WearableListView.OnCentralPositionChangedListener
  
  
  
| android.support.wearable.view.WearableListView.OnCentralPositionChangedListener | 
      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.
  
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
public abstract void onCentralPositionChanged (int centralPosition)
Called when the central item of the WearableListView changes.
| Parameters | |
|---|---|
centralPosition | 
        
          int: Position of the item in the Adapter.
 |