Checking right on start if BIC can be found by IBAN (from preselectedValues)

This commit is contained in:
dankl 2020-01-11 23:24:52 +01:00 committed by dankito
parent 84a4770f96
commit 5d6a067601
1 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,13 @@ open class TransferMoneyDialog : DialogFragment() {
rootView.btnTransferMoney.setOnClickListener { transferMoney() } rootView.btnTransferMoney.setOnClickListener { transferMoney() }
} }
override fun onStart() {
super.onStart()
tryToGetBicFromIban(edtxtRemitteeIban.text.toString())
}
protected open fun setPreselectedValues(rootView: View) { protected open fun setPreselectedValues(rootView: View) {
preselectedValues?.let { data -> preselectedValues?.let { data ->
rootView.edtxtRemitteeName.setText(data.creditorName) rootView.edtxtRemitteeName.setText(data.creditorName)