Class EditIngredientAdapter


  • public class EditIngredientAdapter
    extends EditItemAdapter<Ingredient>
    Adapter for a recipe ingredient, in the recyclerview for recipe ingredients
    • Constructor Detail

      • EditIngredientAdapter

        public EditIngredientAdapter()
    • Method Detail

      • onBindViewHolder

        public void onBindViewHolder​(@NonNull
                                     androidx.recyclerview.widget.RecyclerView.ViewHolder holder1,
                                     int position)
        Binds a viewholder to an ingredient
        Overrides:
        onBindViewHolder in class EditItemAdapter<Ingredient>
        Parameters:
        holder1 - the viewholder
        position - the position of the item in the viewholder