Nacho Ruiz Martin
12/03/2023, 7:36 AMArkadii Ivanov
12/03/2023, 10:36 AMNacho Ruiz Martin
12/03/2023, 5:20 PMArkadii Ivanov
12/03/2023, 5:46 PMindex
property, and you can also use pageStatus
lambda argument to control lifecycle states of the pages (e.g. make pages never destroyed).Arkadii Ivanov
12/03/2023, 5:48 PMindex
.Arkadii Ivanov
12/03/2023, 6:02 PMNacho Ruiz Martin
12/03/2023, 6:03 PMNacho Ruiz Martin
12/04/2023, 8:46 AMsetItems
again, the update is not behaving as expected. I guess this should be handled more carefully going through the list?Nacho Ruiz Martin
12/04/2023, 8:47 AMArkadii Ivanov
12/04/2023, 9:03 AMNacho Ruiz Martin
12/04/2023, 9:05 AMNacho Ruiz Martin
12/04/2023, 9:06 AMnavigate
?Arkadii Ivanov
12/04/2023, 9:10 AMNacho Ruiz Martin
12/04/2023, 9:11 AMArkadii Ivanov
12/04/2023, 9:13 AMNacho Ruiz Martin
12/04/2023, 9:18 AMArkadii Ivanov
12/04/2023, 9:18 AMNacho Ruiz Martin
12/04/2023, 9:19 AMNacho Ruiz Martin
12/04/2023, 10:23 AMnavigate
is called to set a new list (with the same items, just in a different state), the internal mvikotlin’s store is getting recreated so the running coroutine gets cancelled (and on error, I’m resetting the items state to the previous one).
Do you know if this is expected?Arkadii Ivanov
12/04/2023, 10:34 AMArkadii Ivanov
12/04/2023, 10:34 AMArkadii Ivanov
12/04/2023, 10:35 AMNacho Ruiz Martin
12/04/2023, 10:38 AMequal
with the old one, it’ll recreate the component/store.
Should I override equals in some way or maybe just provide the id to this and make each subcomponent to observe changes independently?Arkadii Ivanov
12/04/2023, 10:43 AMNacho Ruiz Martin
12/04/2023, 10:44 AM