Class ReceiptViewHolder


  • public class ReceiptViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    The View Holder for the Receipts list Contains all the views to be displayed on each list item
    • Field Detail

      • mTextViewCreatedAt

        public android.widget.TextView mTextViewCreatedAt
      • mTextViewUpdatedAt

        public android.widget.TextView mTextViewUpdatedAt
      • mTextViewCreatedBy

        public android.widget.TextView mTextViewCreatedBy
      • mTextViewLastUpdatedBy

        public android.widget.TextView mTextViewLastUpdatedBy
      • mImageViewReceiptThumb

        public android.widget.ImageView mImageViewReceiptThumb
      • mTextViewOrNumber

        public android.widget.TextView mTextViewOrNumber
      • mTextViewOrDate

        public android.widget.TextView mTextViewOrDate
      • mTextViewVendor

        public android.widget.TextView mTextViewVendor
      • mTextViewStatus

        public android.widget.TextView mTextViewStatus
      • mTextViewOutcome

        public android.widget.TextView mTextViewOutcome
      • mTextViewAmountPaid

        public android.widget.TextView mTextViewAmountPaid
      • mTextViewMetricAmount

        public android.widget.TextView mTextViewMetricAmount
      • mTextViewActivitySubmitted

        public android.widget.TextView mTextViewActivitySubmitted
      • mTextViewMetricName

        public android.widget.TextView mTextViewMetricName
      • mTextViewUploadedVia

        public android.widget.TextView mTextViewUploadedVia
      • mTextViewProcessingType

        public android.widget.TextView mTextViewProcessingType
      • mTextViewComment

        public android.widget.TextView mTextViewComment
      • mPlaceHolderResource

        @DrawableRes
        public int mPlaceHolderResource
    • Method Detail

      • bind

        public void bind​(Receipt receipt)
      • setPlaceHolderResource

        public void setPlaceHolderResource​(@DrawableRes
                                           int placeHolderResource)
        Set the placeholder resource in the avatar view
        Parameters:
        placeHolderResource - DrawableRes id of the place holder resource