会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
海若初明
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2016年5月7日
Timer 定时任务
摘要: Timer 定时任务
阅读全文
posted @ 2016-05-07 09:35 海若初明
阅读(117)
评论(0)
推荐(0)
listview.setSelection(listview.getBottom()); 失效解决办法
摘要: handler.sendEmptyMessageDelayed(1, 300);
阅读全文
posted @ 2016-05-07 09:25 海若初明
阅读(285)
评论(0)
推荐(0)
2016年5月6日
listview 显示在最后一行
摘要: listView.setselection(listView.getBottom)
阅读全文
posted @ 2016-05-06 11:02 海若初明
阅读(276)
评论(0)
推荐(0)
2016年5月4日
kj
摘要: nineoldandroids commons-codec
阅读全文
posted @ 2016-05-04 16:10 海若初明
阅读(115)
评论(0)
推荐(0)
adapter.notifyDatasetChanged 失效原因
摘要: 数据源对象 改变了引用对象 adapter中的数据 还是指用原来的对象
阅读全文
posted @ 2016-05-04 08:32 海若初明
阅读(276)
评论(0)
推荐(0)
adapter中有两种布局
摘要: A B 两种布局 重用view 对象 有可能应用B布局 结果从用的是A布局 所以重用之前要判断 if (position == list.size() - 1) { View addView = inflater.inflate(R.layout.gv_item_add, null); LogUti
阅读全文
posted @ 2016-05-04 08:27 海若初明
阅读(409)
评论(0)
推荐(0)
2016年5月2日
adapter 异步加载
摘要: AsyncTask 添加自己所需要的构造方法
阅读全文
posted @ 2016-05-02 13:41 海若初明
阅读(234)
评论(0)
推荐(0)
2016年4月28日
退出应用
摘要: public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { int currentVersion = android.os.Build.VERSION.SDK_INT;
阅读全文
posted @ 2016-04-28 12:02 海若初明
阅读(230)
评论(0)
推荐(0)
2016年4月26日
scrollview 和 edittext 焦点冲突
摘要: ScrollView view = (ScrollView)findViewById(R.id.scrollView); view.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); view.setFocusable(tru
阅读全文
posted @ 2016-04-26 11:01 海若初明
阅读(610)
评论(0)
推荐(0)
判断字符串
摘要: trim()不能少 否则影响
阅读全文
posted @ 2016-04-26 11:01 海若初明
阅读(114)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告