上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: viewpager(pagerTabStrip)例子: package com.example.viewpagertest;import java.util.ArrayList;import java.util.List;import android.app.A... 阅读全文
posted @ 2015-09-25 18:05 williamgufeng 阅读(177) 评论(0) 推荐(0) 编辑
摘要: viewpager例子:package com.example.dwintertabdemo;import java.util.ArrayList;import java.util.List;import android.app.Activity;import android.graphics.Bi... 阅读全文
posted @ 2015-09-25 18:03 williamgufeng 阅读(241) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/snake-hand/p/3206655.html1.主Activity 1 public class MainActivity extends Activity { 2 3 private ListView listView; 4 p... 阅读全文
posted @ 2015-09-24 11:24 williamgufeng 阅读(304) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/jisheng/archive/2013/01/09/2852553.html装载器API概述在使用装载器时,会涉及很多类和接口们,我们在下表中对它们总结一下:Class/Interface说明LoaderManager一个抽像类,关联到一个Activi... 阅读全文
posted @ 2015-09-23 18:26 williamgufeng 阅读(173) 评论(0) 推荐(0) 编辑
摘要: List是接口,List特性就是有序,会确保以一定的顺序保存元素.ArrayList是它的实现类,是一个用数组实现的List.Map是接口,Map特性就是根据一个对象查找对象.HashMap是它的实现类,HashMap用hash表实现的Map,就是利用对象的hashcode(hashcode()是O... 阅读全文
posted @ 2015-09-23 16:20 williamgufeng 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: MainActivity如下:package cc.testfilterable;import java.util.ArrayList;import java.util.HashMap;import android.os.Bundle;import android.widget.ListView;i... 阅读全文
posted @ 2015-09-23 16:16 williamgufeng 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: 简单的说就是ListView上面有一个SearchBox,然后searchbox里输入内容后对下面listview进行过滤。涉及的控件:ListView必须有,EditText用来自定义SearchBox大概就是这样:先看这个有图片的EditText,实现方法有两个,一是用相对布局RelativeL... 阅读全文
posted @ 2015-09-23 16:11 williamgufeng 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: Map只能是只读模式,不能增加,因为增加的时候不知道该写入什么类型的值;Map可以读和写,只要是所有Object类的子类都可以。希望能帮助到你。 阅读全文
posted @ 2015-09-23 15:32 williamgufeng 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: 移植平台:5979 git remote add 3252kk ssh://vanzo/platform_kk_6732_6752/packages/apps/Email.git5980 git pull 3252kk5981 git br -av5982 git co -b 3252_ophone... 阅读全文
posted @ 2015-09-23 15:00 williamgufeng 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 清理内存clear:package com.android.cleanprocesstool;import android.content.BroadcastReceiver;import android.content.ComponentName;import android.content.Co... 阅读全文
posted @ 2015-09-18 11:32 williamgufeng 阅读(425) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页