Class MealPlanItemAdapter.ItemViewHolder

  • Enclosing class:
    MealPlanItemAdapter<Item>

    public static class MealPlanItemAdapter.ItemViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    ItemViewHolder class holds the view for the item.
    • Field Summary

      • Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        itemView
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemViewHolder​(android.view.View itemView)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.android.material.card.MaterialCardView getCardView()  
      android.widget.ImageView getImageView()  
      android.widget.TextView getPrimaryTextView()  
      android.widget.TextView getSecondaryTextView()  
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ItemViewHolder

        public ItemViewHolder​(@NonNull
                              android.view.View itemView)
    • Method Detail

      • getCardView

        public com.google.android.material.card.MaterialCardView getCardView()
      • getPrimaryTextView

        public android.widget.TextView getPrimaryTextView()
      • getSecondaryTextView

        public android.widget.TextView getSecondaryTextView()
      • getImageView

        public android.widget.ImageView getImageView()