WearableListView.GenericAdapter
public
static
abstract
class
WearableListView.GenericAdapter
extends Adapter<T extends WearableListView.ViewHolder>
java.lang.Object | ||
↳ | android.support.v7.widget.RecyclerView.Adapter<T extends android.support.wearable.view.WearableListView.ViewHolder> | |
↳ | android.support.wearable.view.WearableListView.GenericAdapter<T extends 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
.
Base class for adapters providing data for the WearableListView supporting generics. For
details refer to RecyclerView.Adapter
.
Summary
Public constructors | |
---|---|
GenericAdapter()
|
Inherited methods | |
---|---|
Public constructors
GenericAdapter
public GenericAdapter ()