public class BrowserAdapter.Holder extends RecyclerView.ViewHolder implements View.OnClickListener
BrowserAdapter.| Modifier and Type | Field and Description |
|---|---|
ImageView |
iconView
The 48dp x 48dp
ImageView displayed at the left of an entry |
TextView |
lengthView
The
TextView for the small lower text of an entry used for displaying the song duration |
TextView |
nameView
The
TextView for the large upper text of an entry used for displaying the name |
itemView| Constructor and Description |
|---|
Holder(LinearLayout v)
Constructs a
BrowserAdapter.Holder using an inflated browser_entry_layout. |
| Modifier and Type | Method and Description |
|---|---|
void |
onClick(View v)
Method triggered when a
BrowserAdapter.Holder is clicked. |
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toStringpublic TextView nameView
TextView for the large upper text of an entry used for displaying the namepublic Holder(LinearLayout v)
BrowserAdapter.Holder using an inflated browser_entry_layout.v - the browser_entry_layoutpublic void onClick(View v)
BrowserAdapter.Holder is clicked.onClick in interface View.OnClickListener