Class ShoppingCartIngredientAdapter

  • All Implemented Interfaces:
    com.google.firebase.firestore.EventListener<com.google.firebase.firestore.QuerySnapshot>

    public class ShoppingCartIngredientAdapter
    extends DBAdapter<ShoppingCartIngredientAdapter.ViewHolder>
    This class is the adapter for the ingredients in the shopping cart list

    It is used to display the ingredients in the shopping cart list

    • Constructor Detail

      • ShoppingCartIngredientAdapter

        public ShoppingCartIngredientAdapter​(ShoppingCartDB db)
        Constructor for the adapter
        Parameters:
        db - the shopping cart db to get the ingredients from