Mini
06/12/2021, 1:20 PMval vm : MyVm = getStateViewModel(state = { bundleOf(Pair("key", value)) })
Mini
06/12/2021, 1:54 PMMini
06/12/2021, 2:20 PMviewModel { (handle: SavedStateHandle) ->
and passing the handle seems to work. Wasnt necessary on 3.0.1 🤔
Also now its deprecated, but I guess thats the same as this
https://kotlinlang.slack.com/archives/C67HDJZ2N/p1623405734074000arnaud.giuliani
06/14/2021, 8:10 AM