Mjahangiry75
08/21/2021, 10:39 AMComposable
for billing stuff like the code bellow
@Composable
internal fun BillingScreen(activity: Activity, billingClient: BillingClient)
is this a bad idea?Ashu
08/21/2021, 10:43 AMAshu
08/21/2021, 10:44 AMMjahangiry75
08/21/2021, 10:45 AMAshu
08/21/2021, 11:06 AMColton Idle
08/21/2021, 4:37 PM@Composable
internal fun BillingScreen(navigationAction: () -> Unit, billingClient: BillingClient)
then when something is clicked in BillingScreen you send that event up to your activity or navHost or whatever and it can handle the navigation.