摘要: 参考: http://www.cnblogs.com/liuling/p/mvp-pattern-android.html 架构图: 1、View层 这些接口是显示view。具体的view在NewsListFragment中。 --为什么要有个NewView接口?它在哪里使用? --在Present 阅读全文
posted @ 2016-03-08 23:23 f9q 阅读(209) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/training/swipe/respond-refresh-request.html This lesson shows you how to update your app when the user requests a manual 阅读全文
posted @ 2016-03-08 22:32 f9q 阅读(282) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/training/swipe/add-swipe-interface.html 1,在布局xml和代码中使用它 2,在menu中添加它 The swipe-to-refresh user interface pattern is implem 阅读全文
posted @ 2016-03-08 22:22 f9q 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1.简介 The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. The activity that instan 阅读全文
posted @ 2016-03-08 21:54 f9q 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 去官网 : http://jd.benow.ca/ 找到 JD-Eclipse 和 JD-IntelliJ,下载,前者安在eclipse上,后者安在as上。 阅读全文
posted @ 2016-03-08 15:33 f9q 阅读(1415) 评论(0) 推荐(0) 编辑
摘要: 1,配置环境变量, 加上ANDROID_EMULATOR_FORCE_32BIT=true 2,在AS中启动模拟器用下面方法 在你要运行的个工程右击->Run as -> Run configuration->Android application-> emulator , 滚动条拉到最后,找到co 阅读全文
posted @ 2016-03-08 15:10 f9q 阅读(193) 评论(0) 推荐(0) 编辑
摘要: ABI的概念: ABI(Application Binary Interface)实际就是指应用程序基于哪种指令集来进行编译,能用到的ABI 也就四种 armeabi,armeabi-v7a ,x86 和mips ,前两者是最常见的。 其次这4个编译选项的含义: 1.‘armeabi’ 默认选项,将 阅读全文
posted @ 2016-03-08 14:24 f9q 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 1.简介 有很多工具都可以录屏,如 byzanz + xdotool 等,peek是一款图形软件,也可以设置很多参数,提高清晰度.可以录制apng,gif,webm,mp4. https://github.com/phw/peek 2.安装 如果软件包里安装失败 那么 3.开始工作 在终端运行 pe 阅读全文
posted @ 2016-03-08 14:07 f9q 阅读(695) 评论(0) 推荐(0) 编辑