摘要: Github源码地址:https://github.com/alibaba/ARouter 一、功能介绍 二、典型应用 三、基础功能 添加依赖和配置 添加注解 初始化SDK 发起路由操作 添加混淆规则(如果使用了Proguard) 四、进阶用法 通过URL跳转 解析URL中的参数 声明拦截器(拦截跳 阅读全文
posted @ 2017-03-06 17:58 嘉禾世兴 阅读(727) 评论(0) 推荐(0) 编辑
摘要: 报错 原因: 方法数超过65536的上限 解决方案: 1.导入jar包 2.设置multiDexEnabled属性为true 3.Application类集成MultiDexApplication类或者如下(推荐) 阅读全文
posted @ 2017-03-06 17:32 嘉禾世兴 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Github源码地址:https://github.com/wyouflf/xUtils3 下面是源码中sample关于Dbutils的使用代码: 阅读全文
posted @ 2017-03-06 17:13 嘉禾世兴 阅读(2266) 评论(0) 推荐(0) 编辑
摘要: Github源码地址:https://github.com/wyouflf/xUtils3 原文地址 :http://www.codekk.com/blogs/detail/54cfab086c4761e5001b2543 本文为 Android 开源项目源码解析 中 xUtils 部分。项目地址: 阅读全文
posted @ 2017-03-06 15:50 嘉禾世兴 阅读(578) 评论(0) 推荐(0) 编辑