rememberLauncher
fun rememberLauncher(config: GooglePayPaymentMethodLauncher.Config, readyCallback: GooglePayPaymentMethodLauncher.ReadyCallback, resultCallback: GooglePayPaymentMethodLauncher.ResultCallback): GooglePayPaymentMethodLauncher
Deprecated
Use rememberGooglePayPaymentMethodLauncher() instead
Replace with
rememberGooglePayPaymentMethodLauncher(config, readyCallback, resultCallback)
Content copied to clipboard
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.