美文网首页Android Weekly Notes
Android Weekly Notes #468

Android Weekly Notes #468

作者: 圣骑士wind | 来源:发表于2021-07-18 00:47 被阅读0次

Android Weekly Issue #468

Exploring Android 12: Splash Screen

Android 12还有Splash Screen的API.

Compose - List / Detail: Basics - Styling Android

List/Detail的界面, 用了DSL的方式让代码更加简洁.

Implementing a Stopwatch with Kotlin Coroutines and Flow Part 1

Stopwatch的实现, 居然还有测试.

Cartographing Jetpack Compose: foundation

作者还会对Compose上的写写画画开个专栏:
https://dev.to/tkuenneth/series/10525

Custom Weekly Schedule Layout with Jetpack Compose - Part 1

周计划表UI的Compose实现.

Understanding Unit Tests for Android in 2021

测试的不同等级.

包括了单元测试, UI测试, 依赖注入等内容.

具体的实例:
https://github.com/ChristopherME/movies-android

Limit the Availability of Kotlin Extension Functions by using Generics and an Empty Interface

通过泛型和空接口限制扩展方法的使用.

fun <T> T.cruiseTheBoulevard(): String where T: Vehicle, T: LandVehicle {
    return "cruising the boulevard with my $make $model"
}

Introduction to the Compose Snapshot system

讨论Compose的Snapshot State, 没太看懂.

A historical introduction to the Compose reactive state model

与上文同一个作者的一篇文章.

Code

相关文章

网友评论

    本文标题:Android Weekly Notes #468

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