Class IngredientDetailAdapter.ViewHolder

  • Enclosing class:
    IngredientDetailAdapter

    public class IngredientDetailAdapter.ViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    ViewHolder is the view holder for the item detail recycler view
    • Field Summary

      Fields 
      Modifier and Type Field Description
      android.widget.TextView headline  
      android.widget.TextView title  
      • Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        itemView
    • Constructor Summary

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

      • 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
    • Field Detail

      • title

        public android.widget.TextView title
      • headline

        public android.widget.TextView headline
    • Constructor Detail

      • ViewHolder

        public ViewHolder​(@NonNull
                          android.view.View itemView)