Remove Item From Listview Using Onactivityresult
Propose again my question. Sorry for the repetition. I have a ListView where there are all the applications installed on the device. At the click on the item, part of the uninstall
Solution 1:
The position
in appInfoArrayList.remove(position);
is uninitialized make sure that you assign value to it.
Solution 2:
You should redraw the list, call the adapter.notifyDataSetChanged() after renewing the adapter data source, this should solve the problem if you use the same ArrayList to store and to show the data
Post a Comment for "Remove Item From Listview Using Onactivityresult"