avoid calling a redundant click on portrait images
This commit is contained in:
parent
17003c6ab1
commit
1dbe82e074
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ class PortraitPhotosAdapter(val context: Context, val photos: ArrayList<String>,
|
||||||
if (currentSelectionIndex != position) {
|
if (currentSelectionIndex != position) {
|
||||||
currentSelectionIndex = position
|
currentSelectionIndex = position
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
views[position]?.performClick()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue