replace notifyItemDeleted with notifyDatasetChanged

This commit is contained in:
Rohit Verma 2025-01-18 22:21:38 +05:30
parent a6c9334e3e
commit b5bee2628f

View file

@ -821,7 +821,7 @@ class UploadActivity : BaseActivity(), UploadContract.View, UploadBaseFragment.C
override fun onThumbnailDeleted(position: Int) {
presenter!!.deletePictureAtIndex(position)
thumbnailsAdapter?.notifyItemRemoved(position)
thumbnailsAdapter?.notifyDataSetChanged()
}
/**