I am new at developing Android.I have a ListView and custom ArrayAdapter which holds an arraylist.I want to update arraylist specific item by position.How can I handle please help me thanks in advance.
Assuming your adapter is storing a List of Foo objects.
Foo item = mAdapter.getItem(position);
item.setValue("blah"); //Or whatever you need to update
mAdapter.notifyDataSetChanged();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With