From bfa6b1a2814c8b88c66d7bb46011c7f7968772ac Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 19 Nov 2020 18:33:21 +0100 Subject: [PATCH] Added horizontal lines between BankInfo items --- .../banking/ui/android/adapter/presenter/BankInfoPresenter.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/presenter/BankInfoPresenter.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/presenter/BankInfoPresenter.kt index 3bfeed07..4fd503b8 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/presenter/BankInfoPresenter.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/presenter/BankInfoPresenter.kt @@ -7,6 +7,7 @@ import kotlinx.coroutines.* import net.dankito.banking.ui.android.adapter.BankListAdapter import net.dankito.banking.ui.presenter.BankingPresenter import net.dankito.banking.bankfinder.BankInfo +import net.dankito.banking.ui.android.extensions.addHorizontalItemDivider open class BankInfoPresenter(protected val presenter: BankingPresenter, context: Context) : RecyclerViewPresenter(context) { @@ -17,6 +18,8 @@ open class BankInfoPresenter(protected val presenter: BankingPresenter, context: override fun instantiateAdapter(): RecyclerView.Adapter<*> { + recyclerView?.addHorizontalItemDivider() + return adapter }