Fix du bug

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2021-02-19 18:57:18 +01:00
parent 7e30aa80b4
commit ffa3bc61ad
Signed by: Florian Bouillon
GPG Key ID: 50BD648F12C86AB6

View File

@ -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()
}
}