Vishnu Ravi
08/03/2023, 5:41 PMequal
function will not work and I have to manually assert on all the properties. Am i overlooking something?
2. Is it okay to emit a flow in a state or is there a better way with paging3 compose?Guilherme Delgado
08/03/2023, 7:41 PMGuilherme Delgado
08/03/2023, 7:43 PMVishnu Ravi
08/03/2023, 10:56 PMAt first sight, exposing a Flow in the MyUiState seems like breaking the SSOT...Yeah 🤔 ...But if you think about it
MyUiState
is still the SSOT here, but since LazyList
is doing most of the heavy lifting, we would have to feed it a "refreshable" data and suddenly it becomes a crucial part of the state.
Whereas in the old view based world, we had direct access to backing adapters. We could collect /emit/submit new data as and when we require it, without sharing the source 😅Guilherme Delgado
08/04/2023, 9:47 AMGuilherme Delgado
08/04/2023, 9:48 AMGuilherme Delgado
08/04/2023, 9:48 AMVishnu Ravi
08/04/2023, 4:13 PMGuilherme Delgado
08/04/2023, 4:38 PMVishnu Ravi
08/04/2023, 5:06 PMdave08
08/07/2023, 12:19 PM