reset the actMode on destroy
This commit is contained in:
parent
248595cde2
commit
a9520ef182
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList<FileDir
|
|||
super.onDestroyActionMode(actionMode)
|
||||
views.forEach { toggleItemSelection(it, false) }
|
||||
markedItems.clear()
|
||||
actMode = null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue