nrobi
10/14/2020, 10:17 AMgetViewModel()
in a composable, where the parameters of the vm are subject to change?nrobi
10/14/2020, 10:18 AMarnaud.giuliani
10/14/2020, 1:17 PMnrobi
10/14/2020, 1:42 PMarnaud.giuliani
10/15/2020, 10:12 AMarnaud.giuliani
10/15/2020, 10:12 AMarnaud.giuliani
10/15/2020, 10:12 AMarnaud.giuliani
10/15/2020, 10:12 AMnrobi
10/15/2020, 10:25 AMarnaud.giuliani
10/15/2020, 1:16 PMconsider checking the parameters, before retrieving the instancewdyt?
nrobi
10/15/2020, 2:08 PMnrobi
10/15/2020, 2:12 PMparametersOf
) and if different regardless of scope return a new instance. Or is this something that’s solved by the ViewModelProvider and is OoS for Koin?nrobi
10/19/2020, 8:34 AMWe should create a public API that allows developers to conveniently scope ViewModel to composition lifecycle.https://issuetracker.google.com/issues/165642391
arnaud.giuliani
10/19/2020, 8:35 AM