mirror of
https://github.com/Aviortheking/CA-Mad-Rental.git
synced 2025-06-07 16:19:55 +00:00
Fix du bug
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
17c2457027
commit
94f1a17709
@ -46,7 +46,7 @@ class HomepageCountryAdapter(list: List<Country>) : RecyclerView.Adapter<Homepag
|
|||||||
val newList = ArrayList(list)
|
val newList = ArrayList(list)
|
||||||
newList.removeAt(position)
|
newList.removeAt(position)
|
||||||
list = newList
|
list = newList
|
||||||
this.notifyItemRemoved(position)
|
this.notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user