阅读背景:

无法获取notifyDataSetChanged()来更新我的列表视图

来源:互联网 

I recognize that there are plenty of questions and answers about the notifyDataSetChanged() method already on stackoverflow, but I've reviewed most of them and can't figure out what could be wrong here. I'm trying to get my listview to dynamically add more lines as the user clicks on the "Add Ingredient Button". It will add the first ingredient after the first click, but any subsequent clicks do not result in any change to the list view. Any help is appreciated.I recognize that there are plenty of questions




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: