android.support.wearable.view
Class WearableListView.ViewHolder

java.lang.Object
  extended by RecyclerView.ViewHolder
      extended by android.support.wearable.view.WearableListView.ViewHolder
Enclosing class:
WearableListView

public static class WearableListView.ViewHolder
extends RecyclerView.ViewHolder

Wrapper around items displayed in the list view. @link #Adapter must return objects that are instances of this class.


Field Summary
static long DEFAULT_ANIMATION_DURATION
           
 
Constructor Summary
WearableListView.ViewHolder(View itemView)
           
 
Method Summary
 void onCenterProximity(boolean isCentralItem, boolean animate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ANIMATION_DURATION

public static final long DEFAULT_ANIMATION_DURATION
See Also:
Constant Field Values
Constructor Detail

WearableListView.ViewHolder

public WearableListView.ViewHolder(View itemView)
Method Detail

onCenterProximity

public void onCenterProximity(boolean isCentralItem,
                              boolean animate)