随笔分类 -  android 开发

1
摘要:实例带你了解Retrofit 2.0的使用,分享目前开发Retrofit遇到的坑和心得。 添加依赖 app/build.gradle 1 compile 'com.squareup.retrofit2:retrofit:2.0.0-beta3' 接口调用 1 2 3 4 5 6 Retrofit r 阅读全文
posted @ 2018-09-14 16:18 chenzquan 阅读(202) 评论(0) 推荐(0)
摘要:在不同的模式“Project” / “Android”的文件夹中查看文件夹。如果文件夹丢失,您可以轻松添加它们。 1、在“res”文件夹上右键“New”->”Android Resource Directory” 2、从资源类型列表中选择“drawable”选项 3、在左窗格中选择“Density” 阅读全文
posted @ 2018-09-10 16:38 chenzquan 阅读(3106) 评论(0) 推荐(0)
摘要:▲ 基础概念 : px : 其实就是像素单位,比如我们通常说的手机分辨列表800*400都是px的单位 sp : 同dp相似,还会根据用户的字体大小偏好来缩放 dp : 虚拟像素,在不同的像素密度的设备上会自动适配 dip: 同dp ▲ 举个栗子 : px与dp pixel,即像素,1px代表屏幕上 阅读全文
posted @ 2018-09-08 14:46 chenzquan 阅读(516) 评论(0) 推荐(0)
摘要:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2016/0308/4036.html 一个提高开发效率的ADB插件:ADB IDEA 泡在网上的日子 / 文 发表于2016-03-08 11:14 第5636次阅读 ADB,插件 编辑推荐 阅读全文
posted @ 2018-08-21 00:13 chenzquan 阅读(2005) 评论(0) 推荐(0)
摘要:添加依赖: 点击inspect 阅读全文
posted @ 2018-08-20 22:40 chenzquan 阅读(209) 评论(0) 推荐(0)
摘要:github:https://github.com/greenrobot/greenDAO 基本使用:https://toutiao.io/posts/yg1kyu/preview https://bng86.gitbooks.io/android-third-party-/content/gree 阅读全文
posted @ 2018-08-18 22:36 chenzquan 阅读(161) 评论(0) 推荐(0)
摘要:https://github.com/orhanobut/logger 基础使用:https://blog.csdn.net/github_33304260/article/details/54799169 阅读全文
posted @ 2018-08-18 21:57 chenzquan 阅读(213) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/Afanbaby/article/details/55667652 阅读全文
posted @ 2018-08-15 22:52 chenzquan 阅读(805) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/c9f2acb9ffe4 阅读全文
posted @ 2018-08-15 14:03 chenzquan 阅读(1270) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/tuke_tuke/article/details/73277588 阅读全文
posted @ 2018-08-13 19:35 chenzquan 阅读(2194) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/AllenWells/article/details/48175113 阅读全文
posted @ 2018-08-12 14:17 chenzquan 阅读(456) 评论(0) 推荐(0)
摘要:官方文档:https://github.com/81813780/AVLoadingIndicatorView 中文文档:https://www.helplib.com/GitHub/article_130981 阅读全文
posted @ 2018-08-10 14:50 chenzquan 阅读(1703) 评论(0) 推荐(0)
摘要:1、先导入依赖 加上网络权限 3、创建retrofit对象、设置数据解析器 4、生成接口对象 UserMsgService service = retrofit.create(UserMsgService.class); 5、调用接口方法回调返回Call对象 Call<UserInfoModel> 阅读全文
posted @ 2018-08-10 09:08 chenzquan 阅读(217) 评论(0) 推荐(0)
摘要:retrofit 基础入门:https://www.jianshu.com/p/b64a2de066c3 retrofit 使用详解:https://blog.csdn.net/carson_ho/article/details/73732076 阅读全文
posted @ 2018-08-09 10:49 chenzquan 阅读(105) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/00beddbe3dbc 阅读全文
posted @ 2018-08-08 13:45 chenzquan 阅读(102) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/donkor_/article/details/77879630 阅读全文
posted @ 2018-08-08 10:42 chenzquan 阅读(109) 评论(0) 推荐(0)
摘要:https://github.com/YoKeyword/Fragmentation/blob/master/README_CN.md 阅读全文
posted @ 2018-08-08 10:21 chenzquan 阅读(604) 评论(0) 推荐(0)
摘要:https://ydmmocoo.github.io/2016/06/28/Android-Studio%E6%8F%92%E4%BB%B6%E6%95%B4%E7%90%86/ 阅读全文
posted @ 2018-08-07 13:39 chenzquan 阅读(120) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/fe675a845c0b 阅读全文
posted @ 2018-08-07 00:03 chenzquan 阅读(494) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_26075861/article/details/80570699 阅读全文
posted @ 2018-08-06 23:12 chenzquan 阅读(131) 评论(0) 推荐(0)

1