Android Weekly Issue #468
Exploring Android 12: Splash Screen
Android 12還有Splash Screen的API.
Compose - List / Detail: Basics - Styling Android
List/Detail的界面, 用了DSL的方式讓代碼更加簡(jiǎn)潔.
Implementing a Stopwatch with Kotlin Coroutines and Flow Part 1
Stopwatch的實(shí)現(xiàn), 居然還有測(cè)試.
Cartographing Jetpack Compose: foundation
作者還會(huì)對(duì)Compose上的寫(xiě)寫(xiě)畫(huà)畫(huà)開(kāi)個(gè)專(zhuān)欄:
https://dev.to/tkuenneth/series/10525
Custom Weekly Schedule Layout with Jetpack Compose - Part 1
周計(jì)劃表UI的Compose實(shí)現(xiàn).
Understanding Unit Tests for Android in 2021
測(cè)試的不同等級(jí).
包括了單元測(cè)試, UI測(cè)試, 依賴(lài)注入等內(nèi)容.
具體的實(shí)例:
https://github.com/ChristopherME/movies-android
Limit the Availability of Kotlin Extension Functions by using Generics and an Empty Interface
通過(guò)泛型和空接口限制擴(kuò)展方法的使用.
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, 沒(méi)太看懂.
A historical introduction to the Compose reactive state model
與上文同一個(gè)作者的一篇文章.