android开发基础_列表视图一(List View)
摘要:
官网解释: a view that shows items in a verically list,The items come from the ListAdapter associated with this view.创建listview有两种方式: 1.直接使用ListView进行创建(一:可以用数组,二:调用vlaues里面预先设置好的) 2.让activity集成listactivity一旦程序中获得了ListView之后,接下来就需要为ListView设置他要显示的列表了, (需要提供一个显示的列表项),就需要借助于内容Adapter了,内容Adapter负责提供需要显示的列表项 阅读全文
posted @ 2011-09-28 16:57 wangbokun 阅读(917) 评论(0) 推荐(0)
浙公网安备 33010602011771号