ImageFragment.kt: notifyDataSetChanged() added to update observers about init call in handleResult()

This commit is contained in:
Lachie Major 2024-10-17 17:04:46 +11:00
parent 0a7fe662d4
commit 323f069a69

View file

@ -279,6 +279,7 @@ class ImageFragment :
filteredImages = ImageHelper.filterImages(images, bucketId)
allImages = ArrayList(filteredImages)
imageAdapter.init(filteredImages, allImages, TreeMap(), uploadingContributions)
imageAdapter.notifyDataSetChanged()
selectorRV?.let {
it.visibility = View.VISIBLE
lastItemId?.let { pos ->