From 5d6a067601075e8dde2a01ec8f34110493dde477 Mon Sep 17 00:00:00 2001 From: dankl Date: Sat, 11 Jan 2020 23:24:52 +0100 Subject: [PATCH] Checking right on start if BIC can be found by IBAN (from preselectedValues) --- .../fints4java/android/ui/dialogs/TransferMoneyDialog.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt index 18249a01..017a0398 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt @@ -97,6 +97,13 @@ open class TransferMoneyDialog : DialogFragment() { rootView.btnTransferMoney.setOnClickListener { transferMoney() } } + override fun onStart() { + super.onStart() + + tryToGetBicFromIban(edtxtRemitteeIban.text.toString()) + } + + protected open fun setPreselectedValues(rootView: View) { preselectedValues?.let { data -> rootView.edtxtRemitteeName.setText(data.creditorName)