Class EventResponseListViewHolder


  • public class EventResponseListViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    The RecyclerView.ViewHolder class for EventResponseListFragment
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(EventResponse eventResponse)
      Populate the current view using the EventResponse
      void setPlaceHolder​(int placeHolder)
      Set a default placeholder for the current image view
      • 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

      • mThumbImageView

        public android.widget.ImageView mThumbImageView
      • mHeadingTextView

        public android.widget.TextView mHeadingTextView
      • subHeadingTextView

        public android.widget.TextView subHeadingTextView
      • dateTextView

        public android.widget.TextView dateTextView
      • timeTextView

        public android.widget.TextView timeTextView
      • locationTextView

        public android.widget.TextView locationTextView
    • Constructor Detail

      • EventResponseListViewHolder

        public EventResponseListViewHolder​(android.view.View itemView)
    • Method Detail

      • setPlaceHolder

        public void setPlaceHolder​(@DrawableRes
                                   int placeHolder)
        Set a default placeholder for the current image view
        Parameters:
        placeHolder - default drawable used