Package com.xffffff.wellfed.storage
Class StorageIngredientAdapter.ViewHolder
- java.lang.Object
-
- androidx.recyclerview.widget.RecyclerView.ViewHolder
-
- com.xffffff.wellfed.storage.StorageIngredientAdapter.ViewHolder
-
- Enclosing class:
- StorageIngredientAdapter
public static class StorageIngredientAdapter.ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder
The view holder class for the storage ingredient list.
-
-
Constructor Summary
Constructors Constructor Description ViewHolder(android.view.View view)
The constructor for the view holder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(StorageIngredient storageIngredient, OnItemClickListener<StorageIngredient> listener)
Bind the storage ingredient to the view holder.
-
-
-
Method Detail
-
bind
public void bind(StorageIngredient storageIngredient, OnItemClickListener<StorageIngredient> listener)
Bind the storage ingredient to the view holder.- Parameters:
storageIngredient
- the storage ingredient to bindlistener
- the listener to set for the view holder
-
-