public class StepRecyclerAdapter.EditStepViewHolder extends RecyclerView.ViewHolder
itemView
Constructor and Description |
---|
EditStepViewHolder(com.semartinez.projects.choppit.databinding.ItemEditStepBinding binding)
The ViewHolder constructor attaches a
View to each binding. |
Modifier and Type | Method and Description |
---|---|
void |
bind(Step step)
This method attaches a specific
Step to a specific entry in the active Fragment and
attaches a reference to the EditingFragment to handle user input. |
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
public EditStepViewHolder(com.semartinez.projects.choppit.databinding.ItemEditStepBinding binding)
View
to each binding.binding
- is the connection between the data and the interface.