zsperske
11/29/2021, 9:38 PMCard(onClick = { viewModel.postEvent(EventListUIEvent.EventSelected(eventState.event)) } )
I want to make a decision on where to go next without my composable knowing about its potential destinations.Ian Lake
11/29/2021, 10:04 PMIan Lake
11/29/2021, 10:07 PMIan Lake
11/29/2021, 10:12 PMIan Lake
11/29/2021, 10:17 PMnavigate
zsperske
11/29/2021, 11:08 PMNavigationLink(destination: EventView(), tag : "event", selection : $viewModel.state.eventDestination)
It feels like this API makes testability difficult (per the testing guide link you shared) but I find myself having to support what I’ve been given. Thanks for the pointers!