diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2e92ff37..ff5d6b86 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,6 +12,11 @@ android:name="android.hardware.faketouch" android:required="false" /> + + + + + , val listener: ItemOperationsListener?, recyclerView: MyRecyclerView, val isPickMultipleIntent: Boolean, val swipeRefreshLayout: SwipeRefreshLayout?, canHaveIndividualViewType: Boolean = true, itemClick: (Any) -> Unit -) : - MyRecyclerViewAdapter(activity, recyclerView, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate { +) : MyRecyclerViewAdapter(activity, recyclerView, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate { private val TYPE_FILE = 1 private val TYPE_DIR = 2 diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt index 16a70d30..076804a7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt @@ -370,7 +370,7 @@ class ItemsFragment(context: Context, attributeSet: AttributeSet) : MyViewPagerF if (it.isDirectory) { if (it.name.contains(text, true)) { - val fileDirItem = getListItemFromFile(it, isSortingBySize, HashMap(), false) + val fileDirItem = getListItemFromFile(it, isSortingBySize, HashMap(), false) if (fileDirItem != null) { files.add(fileDirItem) } @@ -379,7 +379,7 @@ class ItemsFragment(context: Context, attributeSet: AttributeSet) : MyViewPagerF files.addAll(searchFiles(text, it.absolutePath)) } else { if (it.name.contains(text, true)) { - val fileDirItem = getListItemFromFile(it, isSortingBySize, HashMap(), false) + val fileDirItem = getListItemFromFile(it, isSortingBySize, HashMap(), false) if (fileDirItem != null) { files.add(fileDirItem) }