Skip to content Skip to sidebar Skip to footer

Remove Row From Another Activity

I have a listview which is inflated by custom array adapter and onclick takes it to another activity with the data related to that row .After clicking on delete its supposed to del

Solution 1:

You are approaching this problem in the wrong manner. Rather than remove the View from the AdapterView, simply remove the data from the data set and call notifyDataSetChanged(). (This will remove the unwanted View automatically.)


Post a Comment for "Remove Row From Another Activity"