Is there a way to call notifyDataSetChanged() from the main activity for a custom adapter of an item inside another custom adapter?
问题 I've being trying to solve this problem but I couldn't figure it out yet. In my layout have a listview with its custom adapter. Inside each view I have many objects stored in a static class called ViewHolder. One is a gallery with another custom adapter. My problem is that after I get an onActivityResult on my Activity. I need to send a notifyDataSetChanged() to my gallery adapter. If I do: ((BaseAdapter)list.getAdapter()).notifyDataSetChanged(); All the items inside the adapter are refreshed