码迷,mamicode.com
首页 >  
搜索关键字:省市二级联动 expandablelistview scrollview冲突 item分割线的设置    ( 253个结果
Android中ExpandableListView控件基本使用
本文採用一个Demo来展示Android中ExpandableListView控件的使用,如怎样在组/子ListView中绑定数据源。直接上代码例如以下:程序结构图:layout文件夹下的 main.xml 文件源代码例如以下: 包 com.andyidea.demo中C...
分类:移动开发   时间:2015-05-11 14:25:37    阅读次数:139
Android ExpandableListView
1、实现展开列ExpandableListView的三种方式之SimpleExpandableListAdapter实例: http://blog.csdn.net/x605940745/article/details/12099709? ??SimpleExpandableListAdapter 2、基于自定义适配器的Expanda...
分类:移动开发   时间:2015-05-10 20:48:43    阅读次数:127
ExpandableLayout
Implementation of ExpandableListview with custom header and custom content.地址:https://github.com/traex/ExpandableLayout
分类:其他好文   时间:2015-04-30 00:50:53    阅读次数:117
【android】从源码上分析ListView/GridView调用setEmptyView不起作用的原因及解决办法
当我们使用ListView或GridView的时候,当列表为空的时候,我们往往需要一个Loading或者一段提示文字又或者一个特殊的View来提示用户操作,这个时候就用到了setEmptyView()方法。 setEmptyView()其实是AdapterView的方法,而我们开发中常用到的ListView, GridView, ExpandableListView等都是继承于Adapter...
分类:移动开发   时间:2015-04-29 13:40:06    阅读次数:240
Android ListView高度自适应和ScrollView冲突解决
在ScrollView中嵌套使用ListView,ListView只会显示一行到两行的数据。起初我以为是样式的问题,一直在对XML文件的样式进行尝试性设置,但始终得不到想要的效果。后来在网上查了查,ScrollView和ListView两个View都有滚动的效果,在嵌套使用时起了冲突,一般不建议两者...
分类:移动开发   时间:2015-04-29 00:16:53    阅读次数:319
ExpandableListView仿QQ好友列表
本例中,对ExpandableListView中的数据进行了封装,分为两个JavaBean,一个为Group类表示组信息,一个Child类表示该组下子列表信息: Group: public class Group { private String groupName;//分组名 private List childList;//该分组写子列表 public String getGro...
分类:其他好文   时间:2015-04-28 14:10:17    阅读次数:134
Android ExpandableGridView的实现
近期在做项目的时候碰到了这样一个布局在android中有种实现折叠list方式是ExpandableListView 但是官方没有ExpandableGridView那么怎么样用ExpandableListView来实现一个ExpandableGridView呢大概的原理是:在每个Expandabl...
分类:移动开发   时间:2015-04-27 23:38:14    阅读次数:1728
自定义实现ExpandableListView收缩的简单动画效果
以下是ExpandableListView 收缩的简单动画效果 1 /* 2 * Copyright (C) 2014 Gary Guo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");...
分类:其他好文   时间:2015-04-26 06:57:28    阅读次数:524
android ExpandableListView的下拉刷新实现
该控件的修改时根据PullToRefreshList的机制修改下面是对ExpandableListView的扩展package com.up91.gwy.view.componet;import java.lang.reflect.InvocationTargetException;import j...
分类:移动开发   时间:2015-04-25 16:26:36    阅读次数:264
android ListView上拉加载更多 下拉刷新功能实现(采用pull-to-refresh)
Android实现上拉加载更多功能以及下拉刷新功能,采用了目前比较火的PullToRefresh,他是目前实现比较好的下拉刷新的类库。目前他支持的控件有:ListView,ExpandableListView,GridView,WebView等。下载地址:https://github.com/chr...
分类:移动开发   时间:2015-04-24 22:35:52    阅读次数:177
253条   上一页 1 ... 14 15 16 17 18 ... 26 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!