Created
January 25, 2020 00:55
-
-
Save danielmalone/c79d052b8002e54ba2e2ee583921ec0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewHolder(view: View) : RecyclerView.ViewHolder(view) { | |
fun bind(invoice: Invoice) { | |
itemView.invoiceTitle.text = invoice.title | |
itemView.invoiceClient.text = invoice.client | |
itemView.invoiceDate.text = invoice.date | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment