Hi guys, In compose multiplatform app, i have one login bottom sheet and 3 bottom tab screens each with separate view model and i want to show that login bottom sheet from any of the screens depending upon need, Whats the best place to keep the login logic for that bottom sheet ?
Sunil Kumar
09/09/2024, 4:58 PM
Is Using separate viewmodel for this bottom sheet fine ?
I will be injecting that in bottomsheet composable directly and keeping this bottom sheet on top of these 3 tab screens nav graph somowhere becoz it is required by all 3 screens, is that fine?