Colton Idle
05/15/2024, 3:38 PMfun launchPlayStoreDialog(context: Context)
and basically do everything there, but then my ViewModel isn't easily unit testable because now I've included a hard android dependency. I guess you could say the same for if I tried to just do that stuff in a LaunchedEffect in compose.
Would you all basically just have an lambda that bubbles up to the NavHost/etc to do this sort of thing? I know passing a context into a viewmodel isn't great (would that be a mem leak) but it makes sense as a one shot operation.mohamed rejeb
05/15/2024, 3:43 PMColton Idle
05/15/2024, 4:41 PMmohamed rejeb
05/15/2024, 4:41 PMmohamed rejeb
05/15/2024, 4:41 PMyschimke
05/15/2024, 5:10 PMyschimke
05/15/2024, 5:11 PMyschimke
05/15/2024, 5:11 PM