I have an Android Java project I created with the "MasterDetailFlow" wizard.
I have obtained several items which I want to display as Master Item Fragments.
I used an Async task to do the network io so it didn't block UI updates on the master thread.
Now how do I update the ListFragment? There's a list adapter, a dummy class holding the items...
It's very simple. You just call adapter.notifyDataSetChanged().
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.