11 2018 档案

摘要:最近找 Windows 10 的命令行工具,发现了 Windows 自带的 PowerShell ,确实功能强大。推荐。 查找方法:搜索,PowserShell, 打开就能用。 https://www.zhihu.com/question/19739424/answer/219945317 教程:h 阅读全文
posted @ 2018-11-21 13:13 熠然 阅读(2422) 评论(0) 推荐(0) 编辑
摘要:随着项目在国内各个商店上线,开始介入了渠道的概念。 目前总共有 13 家商店,尝试使用 ./gradlew assembleRelease 命令打包,耗时将近 40 分钟。 因此搜索了一些可以提供编译和打包速度的方案: 以下方案需要在项目中一个个实践: 1. 把 Library 打包为 aar ,该 阅读全文
posted @ 2018-11-19 14:32 熠然 阅读(645) 评论(0) 推荐(0) 编辑
摘要:参考:https://mp.weixin.qq.com/s/67nMAJQt6FN1VsE_nayVoQ 阅读全文
posted @ 2018-11-16 10:14 熠然 阅读(140) 评论(0) 推荐(0) 编辑
摘要:工具篇:如何使用 Visual Studio Code 阅读 Android 源码:https://jekton.github.io/2018/05/11/how to read android source code/ 阅读全文
posted @ 2018-11-16 09:53 熠然 阅读(576) 评论(0) 推荐(0) 编辑
摘要:参考:https://mp.weixin.qq.com/s/n AzV7Ke8wxVhmC6ruUIUA 参考:https://jekton.github.io/2018/06/30/android arch ViewModel/ 参考:https://jekton.github.io/2018/0 阅读全文
posted @ 2018-11-16 09:52 熠然 阅读(556) 评论(0) 推荐(0) 编辑
摘要:参考:https://jekton.github.io/2018/04/07/binder why RemoteListenerCallback works/ 参考:https://jekton.github.io/2018/04/11/binder startup of service manag 阅读全文
posted @ 2018-11-16 09:49 熠然 阅读(446) 评论(0) 推荐(0) 编辑
摘要:参考: 阅读全文
posted @ 2018-11-16 09:47 熠然 阅读(139) 评论(0) 推荐(0) 编辑
摘要:参考:https://jekton.github.io/2018/06/08/glide disk cache/ 参考:https://jekton.github.io/2018/06/20/glide mem cache1/ 阅读全文
posted @ 2018-11-16 09:46 熠然 阅读(234) 评论(0) 推荐(0) 编辑
摘要:问题: 1. 使用 AS 在 Fragment 中调用 getActivity() 方法的时候会出现可能为空指针的提醒 2. 使用 monkey 多次十万次测试,会出现 getActivity() NullPointException 的情况 思考 为什么会出现这种情况,按说当前 Activity 阅读全文
posted @ 2018-11-12 15:27 熠然 阅读(2110) 评论(0) 推荐(0) 编辑
摘要:Android 针对版本更新,需要做全局的弹出(需求:版本更新只需要在 App 内全局弹出就可以),思路是使用 AlertDialog ,然后设置 setType 为 TYPE_ALERT_WINDOW ,但是在国产设备上有些是无法弹出来的,需要用户到设置页面去设置,这种的操作难度会比较的大。 参考 阅读全文
posted @ 2018-11-06 15:32 熠然 阅读(3391) 评论(0) 推荐(0) 编辑
摘要:前置条件 项目中,采用 MainActivity + 3个 fragment 的模式作为主要框架。MainActivity 使用 singleTask 模式启动。Fragment 采用 show/hide 方法进行显示和隐藏。 给 H5 提供了接口,可以通过相关方法跳转到一些页面。 其中有个方法是, 阅读全文
posted @ 2018-11-04 21:22 熠然 阅读(472) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示