摘要: Timer 定时任务 阅读全文
posted @ 2016-05-07 09:35 海若初明 阅读(117) 评论(0) 推荐(0)
摘要: handler.sendEmptyMessageDelayed(1, 300); 阅读全文
posted @ 2016-05-07 09:25 海若初明 阅读(285) 评论(0) 推荐(0)
摘要: listView.setselection(listView.getBottom) 阅读全文
posted @ 2016-05-06 11:02 海若初明 阅读(276) 评论(0) 推荐(0)
摘要: nineoldandroids commons-codec 阅读全文
posted @ 2016-05-04 16:10 海若初明 阅读(115) 评论(0) 推荐(0)
摘要: 数据源对象 改变了引用对象 adapter中的数据 还是指用原来的对象 阅读全文
posted @ 2016-05-04 08:32 海若初明 阅读(276) 评论(0) 推荐(0)
摘要: 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)
摘要: AsyncTask 添加自己所需要的构造方法 阅读全文
posted @ 2016-05-02 13:41 海若初明 阅读(234) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)