mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 12:30:36 +01:00
clear mediumGroups before refilling it
This commit is contained in:
parent
87ebadfdc6
commit
8cf0e9d7d4
@ -376,6 +376,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
|
||||
return
|
||||
}
|
||||
|
||||
mediumGroups.clear()
|
||||
media.forEach {
|
||||
val key = it.getGroupingKey(currentGrouping)
|
||||
if (!mediumGroups.containsKey(key)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user