随笔分类 -  使用的框架

摘要:xutils3有几大模块1.网络模块 xutils网络框架的使用 get提交 对应的同步提交 post提交 request 2.同步提交方法一般用在IntentService里面 3.文件上传 requestParams.setMutipart(true) ProgressCallback 4.下载 阅读全文
posted @ 2016-12-20 10:56 utf 阅读(507) 评论(0) 推荐(0)
摘要:1.greendao的引入在project 目录下的build.gradle中添加插件包 dependencies { classpath 'com.android.tools.build:gradle:2.2.0' classpath 'org.greenrobot:greendao-gradle 阅读全文
posted @ 2016-12-19 18:01 utf 阅读(635) 评论(0) 推荐(0)
摘要:1.butternife的使用下载地址:地址:https://github.com/JakeWharton/butterknife2.引入到自己的项目中在Project的build.gradle文件中添加如下代码buildscript { repositories { jcenter() } dep 阅读全文
posted @ 2016-12-16 16:42 utf 阅读(557) 评论(0) 推荐(0)
摘要:我的EventBus理解: 1.EventBus概念Eventbus是一个事件发布和订阅的处理框架1.EventBus如何获取呢?在app模块下的build.gradle文件依赖项中添加如下compile 'org.greenrobot:eventbus:3.0.0'EventBus的基本使用1.新 阅读全文
posted @ 2016-12-16 14:16 utf 阅读(189) 评论(0) 推荐(0)