public class PathAdapter.Holder extends RecyclerView.ViewHolder implements View.OnClickListener
PathAdapter
.Modifier and Type | Field and Description |
---|---|
TextView |
pathText
The
TextView displayed to the right of the arrow. |
itemView
Constructor and Description |
---|
Holder(LinearLayout v)
Constructs a
PathAdapter.Holder using an inflated path_cell_layout . |
Modifier and Type | Method and Description |
---|---|
void |
onClick(View v)
Method triggered when a
PathAdapter.Holder is clicked. |
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
public Holder(LinearLayout v)
PathAdapter.Holder
using an inflated path_cell_layout
.v
- the path_cell_layout
public void onClick(View v)
PathAdapter.Holder
is clicked.onClick
in interface View.OnClickListener