karandeep singh
05/03/2020, 8:28 PMTimo Drick
05/03/2020, 9:03 PMkarandeep singh
05/03/2020, 9:21 PMAdam Powell
05/03/2020, 9:24 PMVinay Gaba
05/03/2020, 11:54 PMAdam Powell
05/04/2020, 12:05 AMremember {}
, state {}
, .current
on ambients, a bunch of factory methods in the API that read ambients/internally remember {}
implementation details, all of the `.observeAsState()`/`.subscribeAsState()`/`.collectAsState()` methods for LiveData/RxJava/Flow, respectively...Vinay Gaba
05/04/2020, 12:45 AMremember
was returning a value 😮 Does compose assume that if it’s not returning a value then its meant to emit UI and if it returns a value then its not meant for UI ?Adam Powell
05/04/2020, 1:25 AMonCommit { onDispose {} }
constructs which neither return a value nor emit UIProviders(...) { ... }
which configures a sort of context for further composition, but doesn't emit UI or return a value either.Vinay Gaba
05/04/2020, 1:52 AMAdam Powell
05/04/2020, 2:00 AMLayout
LayoutNode
emits happen you can see how it works; it shares a syntax with a function call but the named parameters can set `var`s on a pre-existing tree node objectVinay Gaba
05/04/2020, 2:46 AM