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