mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
replace notifyItemDeleted with notifyDatasetChanged
This commit is contained in:
parent
a6c9334e3e
commit
b5bee2628f
1 changed files with 1 additions and 1 deletions
|
|
@ -821,7 +821,7 @@ class UploadActivity : BaseActivity(), UploadContract.View, UploadBaseFragment.C
|
|||
|
||||
override fun onThumbnailDeleted(position: Int) {
|
||||
presenter!!.deletePictureAtIndex(position)
|
||||
thumbnailsAdapter?.notifyItemRemoved(position)
|
||||
thumbnailsAdapter?.notifyDataSetChanged()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue