public class ReportViewHolder extends AbstractViewHolder
Constructor and Description |
---|
ReportViewHolder(android.view.View itemView,
android.content.Context context)
The view holder's constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setReportCode(int code)
Show the report's code.
|
void |
setStatus(ReportStatus status)
Show the report status.
|
void |
setSubject(java.lang.String subject)
Show the report's subject.
|
formatDate, getContext, setOnClickListener
public ReportViewHolder(@NonNull android.view.View itemView, @NonNull android.content.Context context)
itemView
- The view holder's view.context
- The view holder's context.AbstractViewHolder.AbstractViewHolder(View, Context)
public void setSubject(java.lang.String subject)
subject
- The subject.public void setReportCode(int code)
code
- The code.public void setStatus(ReportStatus status)
status
- The status.