rememberLauncher

Deprecated

Use rememberGooglePayPaymentMethodLauncher() instead

Replace with

rememberGooglePayPaymentMethodLauncher(config, readyCallback, resultCallback)

Create a GooglePayPaymentMethodLauncher 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. The GooglePayPaymentMethodLauncher created is remembered across recompositions. Recomposition will always return the value produced by composition.