摘要: 集合调用 判断是不是为空对象 阅读全文
posted @ 2016-04-25 15:33 海若初明 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Color.parseColor(work.getColor()) 阅读全文
posted @ 2016-04-22 11:57 海若初明 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 两种方式设置EditText不弹出软键盘 1.设置焦点在其他控件上: 设置 android:focusable="" android:focusableInTouchMode="" 属性为false 2.设置activity不自动弹出软键盘: 在AndroidManifest.xml设置: <act 阅读全文
posted @ 2016-04-20 09:12 海若初明 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 1.判断联网,显示对话等。。。 2.实例可以都会用到的对象 例如 xutil imageloader 3.管理Activity 4.管理键盘的隐藏和显示 阅读全文
posted @ 2016-04-16 09:17 海若初明 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 凡是不可绝对 阅读全文
posted @ 2016-04-14 10:11 海若初明 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 1.更新后再提交 2 冲突解决 3 项目全部报错 配置 android target 阅读全文
posted @ 2016-04-12 11:17 海若初明 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 需要org.apache.http.legacy.jar 兼容 使用xutil时 阅读全文
posted @ 2016-04-11 08:23 海若初明 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 没有判断versionCode 所以 改版本是要注意 阅读全文
posted @ 2016-04-09 18:32 海若初明 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 用ContextCompat 类 兼容 阅读全文
posted @ 2016-04-07 11:15 海若初明 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 自定义 listview 重写 onmeasure方法 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { int expandSpec = MeasureSpec.makeMeasureSpec(Integ 阅读全文
posted @ 2016-04-07 09:08 海若初明 阅读(259) 评论(0) 推荐(0) 编辑