Android Weekly Notes

Android Weekly Notes #475

2021-08-26  本文已影响0人  圣骑士wind

Android Weekly Issue #475

Welcome you are visitor number 12345

Compose的访客计数实现.

Android Jetpack Proto DataStore

用data store存储protobuf类型的数据.

How I made beautiful screenshots for Google Play (Developer experience)

给Google Play创建好看的截图.

先是推荐了一个应用和几个网站.

最后介绍了自己DIY的方法.

Learning Live Templates for Jetpack Compose

怎么使用和自定义live templates.

Jetpack Compose: Missing piece to the MVI puzzle?

composable组件的recomposition会导致所有它的child recompose吗? -> 答案是不会.

Compose用一种slot table的方式.

Recompose可以skip掉, 如果所有的input都是stable的, 而且没有改变.

在API guidelines里也有写: https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md#stable-types

Keeping public API in check with the Kotlin binary validator plugin

用一个plugin: binary-compatibility-validator做对public API的check.

有一个hook来运行这个check: https://github.com/GetStream/stream-chat-android/blob/fd990322367c97eafc165995de1f065a9c89d9ec/hooks/pre-commit#L16-L25

Solving Advent of Code Puzzles in Idiomatic Kotlin

这个还挺有意思的: Advent of Code

A peek inside Jetpack Core Splashscreen

新出的闪屏api.

implementation 'androidx.core:core-splashscreen:1.0.0-alpha01'

demo: https://github.com/tkuenneth/android-demos/tree/master/misc/JetpackSplashScreenDemo

How to Write a Command-Line Tool with Kotlin Multiplatform

用Kotlin Multiplatform写CLI脚本.

还有一个模板工程: https://github.com/jmfayard/kotlin-cli-starter

这个小工具:
https://github.com/kamranahmedse/git-standup

帮你回忆昨天都做了什么.

这还有一个升级库的工具: https://jmfayard.github.io/refreshVersions/

Tools of the build trade: The making of a tiny Kotlin app

build一个最小化的kotlin app.

My First Attempt at creating a game with Jetpack Compose

用Jetpack Compose做了个吃豆人.

项目: https://github.com/danielmbutler/Pacman_Compose

Code

上一篇下一篇

猜你喜欢

热点阅读