Hiding txtvwRemitteeBankName if bank name isn't set

This commit is contained in:
dankito 2020-09-16 03:32:37 +02:00
parent 8f24802a55
commit 7cd7678542
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ open class RemitteeListAdapter(protected val itemClicked: ((Remittee) -> Unit)?
viewHolder.txtvwRemitteeName.text = item.name viewHolder.txtvwRemitteeName.text = item.name
viewHolder.txtvwRemitteeBankName.text = item.bankName viewHolder.txtvwRemitteeBankName.text = item.bankName
viewHolder.txtvwRemitteeBankName.visibility = if (item.bankName.isNullOrBlank()) View.GONE else View.VISIBLE
viewHolder.txtvwRemitteeAccountId.text = item.iban viewHolder.txtvwRemitteeAccountId.text = item.iban