createForCompose
Content copied to clipboard
Create a PaymentLauncher used for Jetpack Compose.
This API uses Compose specific API rememberLauncherForActivityResult to register a ActivityResultLauncher into current activity, it should be called as part of Compose initialization path. This method creates a new PaymentLauncher object every time it is called, even during recompositions.