From 7cd7678542dd25733c750f3effbc6b53f175d4ba Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 16 Sep 2020 03:32:37 +0200 Subject: [PATCH] Hiding txtvwRemitteeBankName if bank name isn't set --- .../dankito/banking/ui/android/adapter/RemitteeListAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/RemitteeListAdapter.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/RemitteeListAdapter.kt index 6a489f26..abf00415 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/RemitteeListAdapter.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/RemitteeListAdapter.kt @@ -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