rememberLauncher
fun rememberLauncher(config: GooglePayLauncher.Config, readyCallback: GooglePayLauncher.ReadyCallback, resultCallback: GooglePayLauncher.ResultCallback): GooglePayLauncher
Deprecated
Use rememberGooglePayLauncher() instead
Replace with
rememberGooglePayLauncher(config, readyCallback, resultCallback)
Content copied to clipboard
Create a GooglePayLauncher 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 GooglePayLauncher created is remembered across recompositions. Recomposition will always return the value produced by composition.