Zach Klippenstein (he/him) [MOD]
04/11/2020, 12:34 AMAdam Powell
04/11/2020, 1:17 AMZach Klippenstein (he/him) [MOD]
04/11/2020, 1:18 AMAdam Powell
04/11/2020, 1:36 AMZach Klippenstein (he/him) [MOD]
04/11/2020, 1:54 PMAdam Powell
04/11/2020, 2:06 PMAdam Powell
04/11/2020, 2:09 PMeffect { }
composable as the suspend
version of onCommit { onDispose {} }
, animation clocks as awaitFrame
-type functions, the Flow
version of https://android-review.googlesource.com/c/platform/frameworks/support/+/1279164, and deep composition event scheduling around recomposition, when we run composition lifecycle callbacks, and eliminating the need for espresso idling resource-style pollingAdam Powell
04/11/2020, 2:12 PMsuspend
and @Composable
are like X and Y axes on the same plane, working with time and declarative snapshots, respectively.Zach Klippenstein (he/him) [MOD]
04/11/2020, 2:30 PMeffect
coroutine builder and the reactive integrations. It generally takes new devs a bit of time to wrap their heads around treating reactive streams and async work as "something you declare to be happening now, and will be cancelled automatically when you stop declaring it". Letting go of the instinct to explicitly manage disposing is hard, but it makes it impossible to accidentally leak jobs/subscriptions and once it clicks for people they seem to like it.Adam Powell
04/11/2020, 2:32 PMAdam Powell
04/11/2020, 2:32 PMAdam Powell
04/11/2020, 2:34 PMif (show) {
Dialog(...)
}
Zach Klippenstein (he/him) [MOD]
04/11/2020, 2:43 PMshow
method.