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 |
This class 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
.
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 |
---|
Public constructors | |
---|---|
ViewHolder(View itemView)
|
Inherited methods | |
---|---|