SingleLineItemViewHolder
public
class
SingleLineItemViewHolder
extends RecyclerView.ViewHolder
java.lang.Object
|
↳ |
androidx.recyclerview.widget.RecyclerView.ViewHolder
|
|
↳ |
com.google.android.material.lists.SingleLineItemViewHolder
|
Known indirect subclasses
|
A simple single line list item.
Summary
Fields |
public
final
ImageView |
icon
|
public
final
TextView |
text
|
Inherited fields |
From class
androidx.recyclerview.widget.RecyclerView.ViewHolder
public
final
View |
itemView
|
|
Inherited methods |
From class
androidx.recyclerview.widget.RecyclerView.ViewHolder
final
int
|
getAdapterPosition()
|
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()
|
|
Fields
icon
public final ImageView icon
text
public final TextView text
Public constructors
SingleLineItemViewHolder
public SingleLineItemViewHolder (View view)
Public methods