会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嘤嘤嘤123
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2020年11月9日
kotlin5协程2-深入协程
摘要: 参考 https://www.bennyhuo.com/2019/05/07/coroutine-suspend/ 深入协程挂起 从下边的函数说起; public suspend inline fun <T> suspendCancellableCoroutine( crossinline bloc
阅读全文
posted @ 2020-11-09 15:54 嘤嘤嘤123
阅读(947)
评论(0)
推荐(0)
2020年10月21日
groovy和gradle系列说明
摘要: 之前在打包或者引入新的依赖时,总会时不时的出现各种构建错误,当时完全看不懂爆出来的错误到底什么意思,只能上网查,还不一定能查到。 之前做过一些分渠道、分版本的打包处理,也学了一些gradle,但总是学了迷迷糊糊的,必须要有个模板才会模仿着写, 最近工作比较少,把groovy和gradle跟着官方文档
阅读全文
posted @ 2020-10-21 18:24 嘤嘤嘤123
阅读(357)
评论(0)
推荐(0)
2020年4月25日
groovy1
摘要: 参考 http://www.groovy-lang.org/documentation.html 总的帮助文档索引 http://www.groovy-lang.org/api.html groovy本身的api http://www.groovy-lang.org/gdk.html groovy内
阅读全文
posted @ 2020-04-25 15:41 嘤嘤嘤123
阅读(370)
评论(0)
推荐(0)
2020年2月27日
Fragment_3_Androidx中返回键的处理
摘要: 在Fragment中处理返回键操作 在新版的AndroidX之前,我们想要自定义处理返回键操作,必须得在activity和fragment中自己实现。 而在新版的AndroidX的Fragment相关组件中,加入了可以自定义处理后退按钮的操作, getActivity().getOnBackPres
阅读全文
posted @ 2020-02-27 10:41 嘤嘤嘤123
阅读(1382)
评论(0)
推荐(0)
2020年2月26日
2.2.3.Architecture components_View Binding
摘要: 参考 https://developer.android.com/topic/libraries/view-binding 简介 简单来说就是来代替findViewById的。 配置 在AndroidStudio3.6及以上版本可用, 在模块的build.gradle中加入: android { .
阅读全文
posted @ 2020-02-26 19:14 嘤嘤嘤123
阅读(379)
评论(0)
推荐(0)
2.2.2.Architecture components_data binding2_源码分析
摘要: 参考 https://developer.android.com/topic/libraries/data-binding https://blog.csdn.net/qiang_xi/article/details/74347880 获取绑定对象解析 DataBindingUtil l DataB
阅读全文
posted @ 2020-02-26 19:03 嘤嘤嘤123
阅读(483)
评论(0)
推荐(0)
2.2.1.Architecture components_data binding
摘要: 参考 https://developer.android.com/topic/libraries/data-binding https://blog.csdn.net/qiang_xi/article/details/74347880 配置 l 设备需要是Android4.0 api14及以上版本,
阅读全文
posted @ 2020-02-26 18:27 嘤嘤嘤123
阅读(332)
评论(0)
推荐(0)
2.1.3.Architecture components_LiveData
摘要: 参考 https://developer.android.com/topic/libraries/architecture/livedata https://www.jianshu.com/p/55f94c1c5e0e LiveData LiveData是可观察的数据持有者类。 与常规的可观察对象不
阅读全文
posted @ 2020-02-26 18:17 嘤嘤嘤123
阅读(458)
评论(0)
推荐(0)
2.1.2.Architecture components_ViewModel
摘要: 参考 https://developer.android.com/topic/libraries/architecture/viewmodel 官方例子 https://github.com/android/architecture-components-samples/tree/master/Ba
阅读全文
posted @ 2020-02-26 18:11 嘤嘤嘤123
阅读(522)
评论(0)
推荐(0)
2.1.1.Architecture components_Lifecycles
摘要: 参考 https://developer.android.com/topic/libraries/architecture/lifecycle https://developer.android.com/jetpack/androidx/releases/lifecycle 配置 需要在本目录的bu
阅读全文
posted @ 2020-02-26 17:50 嘤嘤嘤123
阅读(386)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告