mirror of
https://github.com/Aviortheking/CA_Contest.git
synced 2025-04-22 02:42:10 +00:00
Fix du bug
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
7e30aa80b4
commit
ffa3bc61ad
@ -46,7 +46,7 @@ class HomepageCountryAdapter(list: List<Country>) : RecyclerView.Adapter<Homepag
|
||||
val newList = ArrayList(list)
|
||||
newList.removeAt(position)
|
||||
list = newList
|
||||
this.notifyItemRemoved(position)
|
||||
this.notifyDataSetChanged()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user