随笔 - 390  文章 - 51  评论 - 166  阅读 - 199万
07 2012 档案
android之下拉刷新(参考Demo即可写出自己的)
摘要:1. 重写的ListView的布局文件<?xmlversion="1.0"encoding="utf-8"?><!--ListView的头部--><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="wrap_content"><!--内容-->&l 阅读全文
posted @ 2012-07-29 15:13 lee0oo0 阅读(672) 评论(0) 推荐(0) 编辑
javascript如何读取Json数据结构节点的值
摘要:javascript如何读取Json数据结构节点的值?下面json官方的js,结合ajax来读取解释json结构的数据。<script>//直接声明json数据结构var myJSONObject = {"bindings": [ {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"}, {"ircEvent": "PRIVMSG&quo 阅读全文
posted @ 2012-07-16 16:43 lee0oo0 阅读(2252) 评论(0) 推荐(0) 编辑
Android杂谈--ListView之SimpleAdapter的使用
摘要:SimpleAdapter SimpleAdapter是扩展性最好的适配器,可以定义各种你想要的布局,而且使用很方便SimpleAdapter(Contextcontext,List<?extendsMap<String,?>> data, int resource,String[]from, int[] to)参数context:上下文,比如this。关联SimpleAdapter运行的视图上下文参数data:Map列表,列表要显示的数据,这部分需要自己实现,如例子中的getData(),类型要与上面的一致,每条项目要与from中指定条目一致参数re... 阅读全文
posted @ 2012-07-04 15:12 lee0oo0 阅读(186) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示