Florian
08/10/2021, 3:08 PMcollectAsState has some small delay to it before views are populated even if the underlying Flow is cached using stateIn? It's quite noticeable in the UI.Dominaezzz
08/10/2021, 3:15 PMStateFlow or some other Flow ?Dominaezzz
08/10/2021, 3:16 PMDominaezzz
08/10/2021, 3:17 PMColton Idle
08/10/2021, 3:20 PMFlorian
08/10/2021, 3:35 PMstateIn makes it a StateFlowFlorian
08/10/2021, 3:35 PMFlorian
08/10/2021, 3:35 PMColton Idle
08/10/2021, 3:38 PMDominaezzz
08/10/2021, 3:38 PMJust making sure you aren't upcasting it to amakes it a StateFlowstateIn
Flow at any point and are calling the collectAsState function that takes no params.Dominaezzz
08/10/2021, 3:39 PMShakil Karim
08/10/2021, 3:42 PM