From 6af1820893f8d2709769c0c38695c54c61de5d66 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 9 Sep 2020 16:21:12 +0200 Subject: [PATCH] Added divider between account transactions list items --- .../java/net/dankito/banking/ui/android/home/HomeFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt index ce4f5447..02bff70e 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt @@ -67,6 +67,7 @@ class HomeFragment : Fragment() { val rcyvwAccountTransactions: RecyclerView = root.findViewById(R.id.rcyvwAccountTransactions) rcyvwAccountTransactions.layoutManager = LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false) rcyvwAccountTransactions.adapter = transactionAdapter + rcyvwAccountTransactions.addItemDecoration(DividerItemDecoration(context, DividerItemDecoration.VERTICAL)) registerForContextMenu(rcyvwAccountTransactions) // this is actually bad, splits code as context menu is created in AccountTransactionAdapter