Hiding txtvwRemitteeBankName if bank name isn't set
This commit is contained in:
parent
8f24802a55
commit
7cd7678542
|
@ -19,6 +19,7 @@ open class RemitteeListAdapter(protected val itemClicked: ((Remittee) -> Unit)?
|
|||
viewHolder.txtvwRemitteeName.text = item.name
|
||||
|
||||
viewHolder.txtvwRemitteeBankName.text = item.bankName
|
||||
viewHolder.txtvwRemitteeBankName.visibility = if (item.bankName.isNullOrBlank()) View.GONE else View.VISIBLE
|
||||
|
||||
viewHolder.txtvwRemitteeAccountId.text = item.iban
|
||||
|
||||
|
|
Loading…
Reference in New Issue