Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

WearableListView.ViewHolder

public static class WearableListView.ViewHolder
extends RecyclerView.ViewHolder

java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.ViewHolder
     ↳ android.support.wearable.view.WearableListView.ViewHolder


Wrapper around items displayed in the list view. WearableListView.Adapter must return objects that are instances of this class. Consider making the wrapped View implement WearableListView.OnCenterProximityListener if you want to receive a callback when it becomes or ceases to be the central item in the WearableListView.

Summary

Inherited fields

From class android.support.v7.widget.RecyclerView.ViewHolder

Public constructors

WearableListView.ViewHolder(View itemView)

Inherited methods

From class android.support.v7.widget.RecyclerView.ViewHolder
From class java.lang.Object

Public constructors

WearableListView.ViewHolder

WearableListView.ViewHolder (View itemView)

Parameters
itemView View