From 481bba36b28a5fde9d8517bd54b3b2c761cccd44 Mon Sep 17 00:00:00 2001 From: sshropshire Date: Wed, 30 Oct 2024 11:31:41 -0500 Subject: [PATCH] Simplify collapsed state in migration guide. --- v2_MIGRATION_GUIDE.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v2_MIGRATION_GUIDE.md b/v2_MIGRATION_GUIDE.md index 09995f395..0e8a35644 100644 --- a/v2_MIGRATION_GUIDE.md +++ b/v2_MIGRATION_GUIDE.md @@ -25,10 +25,12 @@ val config = CoreConfig("", environment = Environment.LIVE) +val cardClient = CardClient(requireContext(), config) ``` -
+
Details: CardClient v2 -The new `CardClient` constructor is less restrictive. For example, it should now be easier to create a `CardClient` instance from within a Jetpack `ViewModel`. +The new `CardClient` constructor is less restrictive. + +For example, it should now be easier to create a `CardClient` instance from within a Jetpack `ViewModel`.