From c98276a94e855629f42ecf6a2f97838104606610 Mon Sep 17 00:00:00 2001 From: Alex Vanyo Date: Thu, 7 Mar 2024 11:53:57 -0800 Subject: [PATCH] Update material3-adaptive to 1.0.0-alpha08 --- .../adaptivelayouts/SampleListDetailPaneScaffold.kt | 12 ++++++++---- gradle/libs.versions.toml | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/compose/snippets/src/main/java/com/example/compose/snippets/adaptivelayouts/SampleListDetailPaneScaffold.kt b/compose/snippets/src/main/java/com/example/compose/snippets/adaptivelayouts/SampleListDetailPaneScaffold.kt index a674512a..154ee4b3 100644 --- a/compose/snippets/src/main/java/com/example/compose/snippets/adaptivelayouts/SampleListDetailPaneScaffold.kt +++ b/compose/snippets/src/main/java/com/example/compose/snippets/adaptivelayouts/SampleListDetailPaneScaffold.kt @@ -64,7 +64,8 @@ fun SampleListDetailPaneScaffoldParts() { // [START android_compose_adaptivelayouts_sample_list_detail_pane_scaffold_part03] ListDetailPaneScaffold( - scaffoldState = navigator.scaffoldState, + directive = navigator.scaffoldDirective, + value = navigator.scaffoldValue, // [START_EXCLUDE] listPane = {}, detailPane = {}, @@ -74,7 +75,8 @@ fun SampleListDetailPaneScaffoldParts() { // [START android_compose_adaptivelayouts_sample_list_detail_pane_scaffold_part04] ListDetailPaneScaffold( - scaffoldState = navigator.scaffoldState, + directive = navigator.scaffoldDirective, + value = navigator.scaffoldValue, listPane = { AnimatedPane(Modifier) { MyList( @@ -95,7 +97,8 @@ fun SampleListDetailPaneScaffoldParts() { // [START android_compose_adaptivelayouts_sample_list_detail_pane_scaffold_part05] ListDetailPaneScaffold( - scaffoldState = navigator.scaffoldState, + directive = navigator.scaffoldDirective, + value = navigator.scaffoldValue, listPane = // [START_EXCLUDE] {}, @@ -129,7 +132,8 @@ fun SampleListDetailPaneScaffoldFull() { } ListDetailPaneScaffold( - scaffoldState = navigator.scaffoldState, + directive = navigator.scaffoldDirective, + value = navigator.scaffoldValue, listPane = { AnimatedPane(Modifier) { MyList( diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8a1b643e..e69432a9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -33,8 +33,8 @@ kotlin = "1.9.20" ksp = "1.8.0-1.0.9" maps-compose = "4.3.2" material = "1.11.0" -material3-adaptive = "1.0.0-alpha07" -material3-adaptive-navigation-suite = "1.0.0-alpha04" +material3-adaptive = "1.0.0-alpha08" +material3-adaptive-navigation-suite = "1.0.0-alpha05" media3 = "1.2.1" # @keep minSdk = "21"