mirror of
https://github.com/Aviortheking/CA_Contest.git
synced 2025-06-21 13:49:18 +00:00
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user