Cannot add header view to list -- setAdapter has already been called
在最近的新项目中我使用了Listview,在 Listview上我添加了很多view。
代码如下:
View view = inflater.inflate(R.layout.community, container, false);
listview = (ListView) view.findViewById(R.id.listview);
shequti
原创
2016-10-12 14:10:49 ·
174 阅读 ·
0 评论