你好,
我想知道是否可以在 listview 的 setListadapter 或 SimpleAdapter 中显示对象值的 Arraylist?
String ArrayList 工作正常,我只是在用 Object ArrayList 试试运气
ArrayList<userinfo> list = new ArrayList<userinfo>();
setListAdapter(new ArrayAdapter<userinfo>(this, R.layout.messages, list)); // list.???
userinfo class consist of all the getters and setters.
字符串数组列表(工作版)@ http://developer.android.com/resources/tutorials/views/hello-listview.html