Colton Idle
07/14/2021, 1:55 AMtad
07/14/2021, 1:57 AMtad
07/14/2021, 1:58 AMMutableStateFlow
, and called that "FooStateMachine", but it ended up being unwieldyjw
07/14/2021, 2:01 AMjw
07/14/2021, 2:02 AMColton Idle
07/14/2021, 2:02 AMjw
07/14/2021, 2:05 AMtad
07/14/2021, 2:06 AMColton Idle
07/14/2021, 2:06 AMjw
07/14/2021, 2:10 AMbrandonmcansh
07/14/2021, 2:12 AMursus
07/14/2021, 6:27 AMShakil Karim
07/14/2021, 6:40 AMKamilH
07/14/2021, 7:57 AMursus
07/14/2021, 8:01 AMKamilH
07/14/2021, 8:15 AMLocale
) without any work on developer side 🤔ursus
07/14/2021, 9:17 AMKamilH
07/14/2021, 9:25 AMisSystemInDarkTheme
Composable function, which means every time it changes it will update the colors in your theme
If number of columns is calculated according to device’s width it should also be automatically updated whenever there was a change in this setting (I’m sure there is some Local
to query a width, but I can’t remember the name)
Portrait vs Landscape - if you want to have different Composable
to be used for each mode I think the best would be to check LocalConfiguration
. I’m sure it will recompose whenever it changesursus
07/14/2021, 9:32 AMdimsuz
07/14/2021, 3:53 PMour app has been single activity, no fragments, and no architecture components for about 7 years. and we're adding in Compose-based things which includes Compose UI with basically zero change to architectureWe have exactly the same experience. No ViewModel/AAC Navigation. Although we use Conductor (for now), but still using Compose is currently done by simply using different base class on a "View" (as in Model-View) layer. Presenters have 0 change because they contain only view logic and view is dumb and is doing only rendering. One can simply swap "rendering backends" (=base class of the "view) without touching presenter.
Rick Regan
07/14/2021, 5:03 PMColton Idle
07/14/2021, 5:08 PM