Class ReceiptViewHolder
- java.lang.Object
-
- androidx.recyclerview.widget.RecyclerView.ViewHolder
-
- com.cheetahdigital.receipt.ui.list.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 Summary
Fields Modifier and Type Field Description android.widget.ImageView
mImageViewReceiptThumb
int
mPlaceHolderResource
android.widget.TextView
mTextViewActivitySubmitted
android.widget.TextView
mTextViewAmountPaid
android.widget.TextView
mTextViewComment
android.widget.TextView
mTextViewCreatedAt
android.widget.TextView
mTextViewCreatedBy
android.widget.TextView
mTextViewLastUpdatedBy
android.widget.TextView
mTextViewMetricAmount
android.widget.TextView
mTextViewMetricName
android.widget.TextView
mTextViewOrDate
android.widget.TextView
mTextViewOrNumber
android.widget.TextView
mTextViewOutcome
android.widget.TextView
mTextViewProcessingType
android.widget.TextView
mTextViewStatus
android.widget.TextView
mTextViewUpdatedAt
android.widget.TextView
mTextViewUploadedVia
android.widget.TextView
mTextViewVendor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(Receipt receipt)
void
setPlaceHolderResource(int placeHolderResource)
Set the placeholder resource in the avatar view
-
-
-
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
-
-