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…
Reference in New Issue