WearableListView.ViewHolder
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
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 |
From class
android.support.v7.widget.RecyclerView.ViewHolder
public
final
View |
itemView
|
|
Inherited methods |
From class
android.support.v7.widget.RecyclerView.ViewHolder
final
int
|
getAbsoluteAdapterPosition()
|
final
int
|
getAdapterPosition()
|
final
Adapter<? extends RecyclerView.ViewHolder>
|
getBindingAdapter()
|
final
int
|
getBindingAdapterPosition()
|
final
long
|
getItemId()
|
final
int
|
getItemViewType()
|
final
int
|
getLayoutPosition()
|
final
int
|
getOldPosition()
|
final
int
|
getPosition()
|
final
boolean
|
isRecyclable()
|
final
void
|
setIsRecyclable(boolean arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
ViewHolder
public ViewHolder (View itemView)