2011年12月27日
摘要: SimpleAdapter SimpleAdapter是扩展性最好的适配器,可以定义各种你想要的布局,而且使用很方便SimpleAdapter(Contextcontext,List<?extendsMap<String,?>> data, int resource,String[]from, int[] to)参数context:上下文,比如this。关联SimpleAdapter运行的视图上下文参数data:Map列表,列表要显示的数据,这部分需要自己实现,如例子中的getData(),类型要与上面的一致,每条项目要与from中指定条目一致参数re... 阅读全文
posted @ 2011-12-27 14:05 花郎V 阅读(23691) 评论(3) 推荐(5) 编辑