http://www.vogella.de/articles/AndroidListView/article.html
The above tutorial assumes you extend ListActivity. If you want to extend activty for some reason, the following code will help.It's less convenient than directly extending ListActivity.
ListView lv = (ListView)findViewById(android.R.id.list);
lv.setAdapter(...
本文介绍如何在 Android 开发中使用 ListView,并提供了不继承 ListActivity 的情况下设置 Adapter 的示例代码。

558

被折叠的 条评论
为什么被折叠?



