From 3e7fec4f72d81b8eac1123b482a024c04c2211c7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 18 Mar 2017 20:27:54 +0100 Subject: [PATCH] show the total file count at long press selection too --- .../filemanager/adapters/ItemsAdapter.kt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt index b9396f13..a8fab5e2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt @@ -37,6 +37,7 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList() var textColor = 0 + var itemCnt = 0 lateinit var folderDrawable: Drawable lateinit var fileDrawable: Drawable @@ -51,6 +52,10 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList