文件名称:MultiLayoutAdapter
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一个使得ListView能够呈现多种布局的多布局适配器。ListView用了SimpleAdapter之后就只能呈现一种Layout,这样虽然简单但是有时不能满足需求。所以,我下载SDK的源码重写了SimpleAdapter,你可以看出那些JavaDoc还是之前SimpleAdapter的JavaDoc。
各位下载了之后能将它当成SimpleAdapter使用。
主要修改的地方是:
1、构造方法不再接受单个Layout Resource,能接受Resource数组。
2、能够根据 ItemViewType来选择Resource,所以子类应该要重写 getItemViewType。 -This is a ListView can show a variety of layout layout adapter. The ListView with SimpleAdapter can only present a Layout so simple but sometimes can not meet demand. So, I downloaded to The SDK source rewrite SimpleAdapter, you can see the Javadoc those the JavaDoc or before SimpleAdapter the. Can you download it as SimpleAdapter. The major changes are: 1, constructor no longer accepts a single Layout Resource Resource array can accept. 2, according to ItemViewType to select Resource, the subclass should rewrite getItemViewType.
各位下载了之后能将它当成SimpleAdapter使用。
主要修改的地方是:
1、构造方法不再接受单个Layout Resource,能接受Resource数组。
2、能够根据 ItemViewType来选择Resource,所以子类应该要重写 getItemViewType。 -This is a ListView can show a variety of layout layout adapter. The ListView with SimpleAdapter can only present a Layout so simple but sometimes can not meet demand. So, I downloaded to The SDK source rewrite SimpleAdapter, you can see the Javadoc those the JavaDoc or before SimpleAdapter the. Can you download it as SimpleAdapter. The major changes are: 1, constructor no longer accepts a single Layout Resource Resource array can accept. 2, according to ItemViewType to select Resource, the subclass should rewrite getItemViewType.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MultiLayoutSimpleAdapter.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.