I have a Master/Detail Activity in my Android Application. The Master part shows a list of 10 items. On the detail part of each item there is a Button which can be used to delete that item from the list. Content of My list is from an ArrayList. I could delete any item from the ArrayList, but I am not able to update the master part.
How can I do it? Thanks in Advance for your replies.
I had done the research and solved the issue. The solution is as follows.
notifyDataSetChanged()
function of the adapter.