android / snippets

Main repository for snippets surfaced on developer.android.com.
Apache License 2.0
671 stars 173 forks source link

Latest -> Main #322

Closed riggaroo closed 1 month ago

riggaroo commented 2 months ago

Upgrading to Compose 1.7.0 BOM

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 51 region tags. - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/AnimatedVisibilitySharedElementSnippets.kt:80](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/AnimatedVisibilitySharedElementSnippets.kt#L80), tag `android_compose_shared_elements_animated_visibility` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:65](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L65), tag `android_compose_animations_shared_element_step1` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:203](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L203), tag `android_compose_animations_shared_element_step2` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:306](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L306), tag `android_compose_shared_element_manual_control` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:350](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L350), tag `android_compose_animation_shared_element_bounds_unmatched` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:405](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L405), tag `android_compose_shared_elements_unique_key` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:447](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L447), tag `android_compose_shared_element_scope` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt:484](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/BasicSharedElementSnippets.kt#L484), tag `android_compose_shared_element_parameters` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt:248](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt#L248), tag `android_compose_shared_element_text_bounds_transform` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt:307](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt#L307), tag `android_compose_animations_shared_element_clipping` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt:384](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt#L384), tag `android_compose_shared_element_enter_exit` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt:548](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/CustomizeSharedElementsSnippets.kt#L548), tag `android_compose_shared_element_placeholder_size` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedBoundsSnippets.kt:88](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedBoundsSnippets.kt#L88), tag `android_compose_animations_shared_element_shared_bounds` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementCommonUseCaseSnippets.kt:46](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementCommonUseCaseSnippets.kt#L46), tag `android_compose_shared_element_async_image_tip` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementCommonUseCaseSnippets.kt:83](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementCommonUseCaseSnippets.kt#L83), tag `android_compose_shared_element_text_tip` - [compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementsWithNavigationSnippets.kt:66](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/animations/sharedelement/SharedElementsWithNavigationSnippets.kt#L66), tag `android_compose_shared_element_predictive_back` - [compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt:93](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt#L93), tag `android_compose_graphics_layer_bitmap_basics` - [compose/snippets/src/main/java/com/example/compose/snippets/interop/MigrationCommonScenariosSnippets.kt:146](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/interop/MigrationCommonScenariosSnippets.kt#L146), tag `android_compose_interop_migration_common_scenarios_navigation_step_2_1` - [compose/snippets/src/main/java/com/example/compose/snippets/layouts/FlowLayoutSnippets.kt:472](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/layouts/FlowLayoutSnippets.kt#L472), tag `android_compose_layouts_contextual_flow` - [compose/snippets/src/main/java/com/example/compose/snippets/layouts/FlowLayoutSnippets.kt:514](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/layouts/FlowLayoutSnippets.kt#L514), tag `android_compose_flow_layouts_fill_max_column_width` - [compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt:546](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L546), tag `android_compose_text_link_1` - [compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt:566](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L566), tag `android_compose_text_link_2` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:89](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L89), tag `android_compose_interactions_interaction_state` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:102](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L102), tag `android_compose_interactions_interaction_source_input` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:110](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L110), tag `android_compose_interactions_mutable_interaction_source_input` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:118](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L118), tag `android_compose_interactions_high_level_component` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:139](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L139), tag `android_compose_interactions_hoverable` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:156](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L156), tag `android_compose_interactions_focusable` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:174](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L174), tag `android_compose_interactions_clickable` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:196](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L196), tag `android_compose_interactions_flow_apis` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:217](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L217), tag `android_compose_interactions_add_remove` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:247](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L247), tag `android_compose_interactions_is_pressed_or_dragged` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:251](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L251), tag `android_compose_interactions_last` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:262](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L262), tag `android_compose_interactions_batched` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:272](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L272), tag `android_compose_interactions_press_icon_button` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:303](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L303), tag `android_compose_interactions_press_icon_button_usage` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:314](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L314), tag `android_compose_interactions_indication` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:329](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L329), tag `android_compose_interactions_scale_node` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:368](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L368), tag `android_compose_interactions_scale_node_factory` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:381](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L381), tag `android_compose_interactions_button_indication` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:398](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L398), tag `android_compose_interactions_scale_button` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:428](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L428), tag `android_compose_interactions_scale_button_example` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:437](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L437), tag `android_compose_interactions_neon_node` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt:631](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/Interactions.kt#L631), tag `android_compose_interactions_neon_indication` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:120](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L120), tag `android_compose_userinteractions_material_ripple` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:187](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L187), tag `android_compose_userinteractions_scale_indication_node_factory` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:199](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L199), tag `android_compose_userinteractions_scale_indication_node` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:245](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L245), tag `android_compose_userinteractions_localusefallbackrippleimplementation` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:254](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L254), tag `android_compose_userinteractions_localusefallbackrippleimplementation_app_theme` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:267](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L267), tag `android_compose_userinteractions_disabled_ripple_configuration` - [compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt:276](https://github.com/android/snippets/blob/f7f7cfefb4a5548a7cb1a1b8ec4683fb2bbd217a/compose/snippets/src/main/java/com/example/compose/snippets/touchinput/userinteractions/UserInteractions.kt#L276), tag `android_compose_userinteractions_my_ripple_configuration`
You are about to delete 6 region tags. - [compose/snippets/src/main/java/com/example/compose/snippets/designsystems/AppCompatThemeSnippets.kt:22](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/designsystems/AppCompatThemeSnippets.kt#L22), tag `android_compose_designsystems_interop_appcompattheme` - [compose/snippets/src/main/java/com/example/compose/snippets/designsystems/MdcThemeSnippets.kt:22](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/designsystems/MdcThemeSnippets.kt#L22), tag `android_compose_designsystems_interop_mdctheme` - [compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt:143](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt#L143), tag `android_compose_draw_into_bitmap` - [compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt:211](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/graphics/AdvancedGraphicsSnippets.kt#L211), tag `android_compose_draw_into_bitmap_convert_picture` - [compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt:421](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L421), tag `android_compose_text_clickable` - [compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt:432](https://github.com/android/snippets/blob/b2a00756a3c370c8dd8419cf1d3a669953a87f5a/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L432), tag `android_compose_text_clickable_annotated`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: