Android Weekly Notes

Android Weekly Notes #461

2021-06-14  本文已影响0人  圣骑士wind

Android Weekly Issue #461

Coordinating multiple view visibility with Flow and the combine operator

复杂的UI状态, 通过在ViewModel里combine flow来完成.

Improving Android DataBinding with Bindables library

用这个库: https://github.com/skydoves/bindables 来进一步改善data binding的使用.

Scheduling Tasks With Android WorkManager

WorkManager的使用和测试.

Noisy Code 🗣 With Kotlin Scopes

kotlin的几个scope方法, 可能会导致可读性降低.

remember { mutableStateOf() } – A cheat sheet

Compose代码中的:

var text by remember { mutableStateOf("") }

Libraries & Code

Videos

上一篇下一篇

猜你喜欢

热点阅读