I'm trying to populate a listview by using an intent
This question already has an answer here:
There must be at least one null value in the array that you passed in ArrayAdapter
. Please log the values of the variables Name
and Comments
in MainActivity
class before initializing the ArrayAdapter
.
上一篇: 从分析类创建对象的列表视图
下一篇: 我试图通过使用意图来填充列表视图