Added horizontal lines between BankInfo items

This commit is contained in:
dankito 2020-11-19 18:33:21 +01:00
parent c4bfb145fa
commit bfa6b1a281
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import kotlinx.coroutines.*
import net.dankito.banking.ui.android.adapter.BankListAdapter import net.dankito.banking.ui.android.adapter.BankListAdapter
import net.dankito.banking.ui.presenter.BankingPresenter import net.dankito.banking.ui.presenter.BankingPresenter
import net.dankito.banking.bankfinder.BankInfo import net.dankito.banking.bankfinder.BankInfo
import net.dankito.banking.ui.android.extensions.addHorizontalItemDivider
open class BankInfoPresenter(protected val presenter: BankingPresenter, context: Context) : RecyclerViewPresenter<BankInfo>(context) { open class BankInfoPresenter(protected val presenter: BankingPresenter, context: Context) : RecyclerViewPresenter<BankInfo>(context) {
@ -17,6 +18,8 @@ open class BankInfoPresenter(protected val presenter: BankingPresenter, context:
override fun instantiateAdapter(): RecyclerView.Adapter<*> { override fun instantiateAdapter(): RecyclerView.Adapter<*> {
recyclerView?.addHorizontalItemDivider()
return adapter return adapter
} }