Lukasz Kalnik
08/05/2022, 12:56 PMModalBottomSheetLayout where the contents is the main screen with a list of items, and the sheetContent are item details (with different settings).
As the item details are quite complex, and don't influence the main screen, I would like to have them in a separate ViewModel. How can I pass the itemId from the MainScreenViewModel to the ItemDetailsViewModel. I don't really fancy creating a shared ViewModel just to pass one value (which is anyway only temporary, as the ItemDetailsViewModel will store itemId as well to get the item data).K Merle
08/07/2022, 7:56 PMlist and details ViewModels?Lukasz Kalnik
08/07/2022, 8:00 PMLukasz Kalnik
08/07/2022, 8:03 PMArun Joseph
08/10/2022, 12:43 PMNavHost for such bottom panel, so I can get viewModel scoped to bottom panel content.