I have a list view made using custom Adapter & contains 2 text view in each row, I want to update data of rows , when I long pressed on row.
android studio: how to update data of a list View made using custom Adapter
478 views Asked by ulti72 At
3
Just update your model object according to the need and call
notifyDataSetChanged()
inOnLongClickListener
orOnItemLongClickListener
of ListView. List data will update.