mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix Older versions of app not disappearing properly
This commit is contained in:
parent
5f4dffd483
commit
fb019bb283
@ -1002,9 +1002,12 @@ class AppDetailAdapter(private val callbacks: Callbacks) :
|
||||
items[position - 1] = expandItem.items[1]
|
||||
notifyItemRangeChanged(position - 1, 2)
|
||||
} else {
|
||||
items.removeAt(position - 1)
|
||||
items.removeAll(expandItem.items)
|
||||
if (position > 0) {
|
||||
notifyItemRemoved(position - 1)
|
||||
notifyItemRangeRemoved(
|
||||
position - expandItem.items.size,
|
||||
expandItem.items.size
|
||||
)
|
||||
notifyItemChanged(position)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user