public class LibraryAdapter.Holder extends RecyclerView.ViewHolder implements View.OnClickListener
LibraryAdapter
.Modifier and Type | Field and Description |
---|---|
ImageView |
imageView
The 128dpx128dp
ImageView displayed |
TextView |
textView
|
itemView
Constructor and Description |
---|
Holder(LinearLayout v)
Constructs a
LibraryAdapter.Holder using an inflated library_cell_layout . |
Modifier and Type | Method and Description |
---|---|
void |
onClick(View v)
Method triggered when a
LibraryAdapter.Holder is clicked. |
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
public TextView textView
public Holder(LinearLayout v)
LibraryAdapter.Holder
using an inflated library_cell_layout
.v
- the library_cell_layout
public void onClick(View v)
LibraryAdapter.Holder
is clicked.onClick
in interface View.OnClickListener