美文网首页Android开发成长
Android Weekly Notes #421

Android Weekly Notes #421

作者: 圣骑士wind | 来源:发表于2020-07-10 00:40 被阅读0次

    Android Weekly Issue #421

    Introducing 🌈RainbowCake

    RainbowCake是一个framework, 在jetpack上面搭建.

    居然有这么多层:

    • 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的两个新工具:

    Multiplatform Persistence with SQLDelight

    居然是Kotlin Multiplatform的解决方案.

    用了模板:
    https://github.com/doneill/kotlin-multiplatform-template

    Code

    相关文章

      网友评论

        本文标题:Android Weekly Notes #421

        本文链接:https://www.haomeiwen.com/subject/gizycktx.html