mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-18 12:50:35 +01:00
properly update selectable item count at creating a new file/folder
This commit is contained in:
parent
7f31975053
commit
43ebc7add1
@ -46,7 +46,7 @@ ext {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:2.41.1'
|
||||
implementation 'com.simplemobiletools:commons:2.41.2'
|
||||
|
||||
implementation files('../libs/RootTools.jar')
|
||||
|
||||
|
@ -383,6 +383,7 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
|
||||
|
||||
fun updateItems(newItems: MutableList<FileDirItem>) {
|
||||
fileDirItems = newItems
|
||||
selectableItemCount = fileDirItems.size
|
||||
notifyDataSetChanged()
|
||||
finishActMode()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user