Is there a way to call notifyDataSetChanged() from the main activity for a custom adapter of an item inside another custom adapter?

后端 未结 1 1825
小鲜肉
小鲜肉 2021-01-28 02:53

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

相关标签:
1条回答
  • 2021-01-28 03:18

    I feel ashamed... It seemed that I forgot to renew a few variables for it to work right...

    So the conclusion is the adapter inside the adapter gets updated if you call:

    .notifyDataSetChanged();

    You just have to do it right

    0 讨论(0)
提交回复
热议问题