Class PunchcardViewHolder


  • public class PunchcardViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    View Holder for the list of PunchcardInstance Contains all the view to be displayed in each list item
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(PunchcardInstance punchcardInstance)
      Method that binds the PunchcardInstance data to the views currently available
      • 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

      • mTextViewPunchCount

        public android.widget.TextView mTextViewPunchCount
      • mTextViewHeading

        public android.widget.TextView mTextViewHeading
      • mTextViewValidity

        public android.widget.TextView mTextViewValidity
      • mProgressBarPunchCount

        public android.widget.ProgressBar mProgressBarPunchCount
      • mPunchcardContainer

        public android.view.View mPunchcardContainer
    • Constructor Detail

      • PunchcardViewHolder

        public PunchcardViewHolder​(android.view.View itemView)