In My Application there are three screen.
1. Main Menu
2. Custom ListView Activity
3. Detail page Activity
Now, I have implemented the adapter and the custom ListView to the ListView Activity.
I am going to add some data to the ListView Activity. But that data should be selected from the detail page Activity.
So After selecting the data from the detail Page if i come back to ListView activity then the data is not reflacted. But if i finish that ListView Activity and come again to ListView Activity from the Main Menu. Thus i got the selected value.
So whats wrong ? Why i am not able to get the effect instantly if i change the data from the detail page.
I think Whenever i come back to ListViewActivity, i have to refresh all data. But i dont know how.
So will you please help me for that ?
Thanks.
To refresh your
ListViewcallnotifyDataSetChanged()on yourAdapter.