摘要: 在SwipeRefreshLayout子view 添加一个FrameLayout ;然后把listview和emptyview放在framelayout就可以了 >修改后的代码 多添加了 一层FrameLayout 空布局: listview的代码布局: 代码: 拿到数据之后:根据数据的size 阅读全文
posted @ 2017-06-10 09:55 丫丫25001 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 链接: http://www.cnblogs.com/zhaoyanjun/p/5523454.html 阅读全文
posted @ 2017-05-19 10:26 丫丫25001 阅读(119) 评论(0) 推荐(0) 编辑
摘要: private boolean checkInputMethodVisible(View view){ InputMethodManager imm = (InputMethodManager) context .getSystemService(Context.INPUT_METHOD_SERVI 阅读全文
posted @ 2017-05-03 11:31 丫丫25001 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 方法1: 调用 这个方法会 销毁所有的video和audio 包括js的所有正在运行的function 方法2: 复写生命周期的方法;最好的方法; 阅读全文
posted @ 2017-04-28 16:47 丫丫25001 阅读(7623) 评论(0) 推荐(0) 编辑
摘要: 链接地址: https://github.com/kymjs/TheMVP 阅读全文
posted @ 2017-04-08 11:03 丫丫25001 阅读(95) 评论(0) 推荐(0) 编辑
摘要: ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", /*Red*/0xFFFF8080, /*Blue*/0xFF8080FF); colorAnim.setDuration(3000); colorAnim.setEvaluator(new ArgbEvaluator()); ... 阅读全文
posted @ 2017-03-27 16:21 丫丫25001 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: Paint paint = new Paint(); paint.setAntiAlias(true); //防锯齿 paint.setDither(true); //防抖动 paint.setStyle(Paint.Style.STROKE); //画笔类型 STROKE空心 FILL 实心 FI 阅读全文
posted @ 2016-11-29 11:45 丫丫25001 阅读(506) 评论(0) 推荐(0) 编辑
摘要: http://geek.csdn.net/news/detail/125375 阅读全文
posted @ 2016-11-28 14:35 丫丫25001 阅读(78) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/qq_21430549/article/details/53193003 阅读全文
posted @ 2016-11-25 08:42 丫丫25001 阅读(87) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/anyfive/article/details/52575262 阅读全文
posted @ 2016-11-02 16:36 丫丫25001 阅读(1216) 评论(0) 推荐(0) 编辑