diff --git a/cardverificationsheet-example/build.gradle b/cardverificationsheet-example/build.gradle index 4f4d64f101a..7fe164846eb 100644 --- a/cardverificationsheet-example/build.gradle +++ b/cardverificationsheet-example/build.gradle @@ -36,7 +36,7 @@ dependencies { // Integration with activities implementation "androidx.activity:activity-compose:1.3.1" // Integration with ViewModels - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4.0" // Integration with observables implementation "androidx.compose.runtime:runtime-livedata:$composeVersion" diff --git a/paymentsheet-example/build.gradle b/paymentsheet-example/build.gradle index bc12000f519..0122c530c25 100644 --- a/paymentsheet-example/build.gradle +++ b/paymentsheet-example/build.gradle @@ -42,7 +42,7 @@ dependencies { // Integration with activities implementation "androidx.activity:activity-compose:1.3.1" // Integration with ViewModels - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4.0-rc01" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.4.0" // Integration with observables implementation "androidx.compose.runtime:runtime-livedata:$composeVersion"