From 208c1190630e91c6b3debafeeab0af3be5fc0ff2 Mon Sep 17 00:00:00 2001 From: Kieran O'Brien Date: Fri, 21 May 2021 11:08:56 +1000 Subject: [PATCH 01/11] Fix mistake in checkout v2 example --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 40accf7d..b5c1d985 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ class ExampleActivity: Activity { } override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) + // ... Afterpay.setCheckoutV2Handler(object : AfterpayCheckoutV2Handler { override fun didCommenceCheckout(onTokenLoaded: (Result) -> Unit) { @@ -144,10 +144,6 @@ class ExampleActivity: Activity { TODO("Optionally update your application model with the selected shipping option") } }) - } - - override fun onCreate(savedInstanceState: Bundle) { - // ... val afterpayCheckoutButton = findViewById