登录
首页 » Java » android 可展开的分组实例源码下载(expandlistview)

android 可展开的分组实例源码下载(expandlistview)

于 2015-01-15 发布
0 304
下载积分: 1 下载次数: 0

代码说明:

expandlistview,可展开 折叠

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Android与js交互 实例源码下载
    Android与js交互 实例源码下载
    2015-01-11下载
    积分:1
  • Android用Intent实现Video 视频功能
    Android用Intent实现Video 视频功能
    2014-01-19下载
    积分:1
  • android联系人带字母检索源码
    android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
    2014-04-13下载
    积分:1
  • android 手机电量计算 相关文档
    android 手机电量计算 相关文档
    2014-10-07下载
    积分:1
  • android照相机,录像机 例子源码
    android照相机,录像机 例子源码
    2015-03-09下载
    积分:1
  • Android Launcher 源码修改可编译 例子源码
    Android Launcher 源码修改可编译 例子源码
    2014-10-10下载
    积分:1
  • 安卓实现划屏切换页面
    安卓实现划屏切换页面
    2015-02-07下载
    积分:1
  • android 音量控制 实例源码,效果不错
    android 音量控制 实例源码,效果不错
    2014-06-03下载
    积分:1
  • 微信转盘源码下载
    微信转盘源码下载
    2014-03-17下载
    积分:1
  • 欢迎页
    一个简单的引导页面实现
    2015-01-22下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载