Android Weekly Issue #421
Introducing 🌈RainbowCake
RainbowCake是一个framework, 在jetpack上面搭建.
- 项目主页: https://rainbowcake.dev/
- github: https://github.com/rainbowcake/
居然有这么多层:
- Views
- ViewModels
- Presenters
- Interactors
- Data sources
Bringing modern storage to Viber’s users
Viber是一个message app: https://play.google.com/store/apps/details?id=com.viber.voip
这篇是讲scope storage在Viber中的应用.
Kotlin Unit Tests with Parameters
JUnit5, 带参数的单元测试.
Going Deep on JetPack Benchmark
Jetpack的benchmark库:
https://developer.android.com/studio/profile/benchmark
有sample: https://github.com/android/performance-samples
是androidTest的依赖.
在代码中添加好了之后, 运行测试:
./gradlew benchmark:connectedCheck
Android 11 Storage FAQ
Android 11 Storage的灵魂发问.
Kotlin - Creative function composition with extensions & operator overloading
利用扩展函数和运算符重载组合方法.
New Android 11 tools to make apps more private and stable
Android 11的两个新工具:
- Data Access Audit APIs: https://developer.android.com/preview/privacy/data-access-auditing
- Process Exit Reasons: https://developer.android.com/preview/features#app-process-exit-reasons
Multiplatform Persistence with SQLDelight
居然是Kotlin Multiplatform的解决方案.
用了模板:
https://github.com/doneill/kotlin-multiplatform-template
Code
- Android扫雷: https://github.com/lucasnlm/antimine-android
网友评论