Skip to content

Conversation

@compose-devrel-github-bot
Copy link
Contributor

Update latest with main

JolandaVerhoef and others added 30 commits April 29, 2025 09:45
* Refactor swipe-to-dismiss examples

- Update TodoItem data class for better readability
- Refactor the swipe item to improve the overall performance and readability
- Refactor SwipeItemExample for better readability
- Refactor SwipeCardItemExample and rename it to SwipeItemWithAnimationExample for better description
- Modify the swipe to dismiss animation for better user experience
- Add comments to make code easy to read

* Apply Spotless

---------

Co-authored-by: JolandaVerhoef <[email protected]>
* Add new and updated accessibility DAC snippets

* Import hideFromAccessibility

* Apply Spotless

* Revert removal of some existing a11y snippets
* Migrate existing snippets to alpha04
* Add snippet for Session resume
* Add SpatialExternalSurface snippet for xr-alpha04 and update SNAPSHOT build version.
* Fix up Subspaces and Environments for alpha04
* Update SpatialExternalSurface example for xr-alpha04
* Add comments for SpatialExternalSurface in xr-alpha04
* Fix Anchor configuration snippet
* Migrate to alpha04 (from snapshot build)

---------

Co-authored-by: devbridie <[email protected]>
Co-authored-by: Jan Kleinert <[email protected]>
* 🤖 Update Dependencies

* revert the window dep update

* Apply Spotless

* Revert the revert

* Suppress requiresSdk warnings

* Suppress requiresSdk warnings

* Revert xr deps

---------

Co-authored-by: Simona Milanovic <[email protected]>
Co-authored-by: simona-anomis <[email protected]>
* Update to 1.5.0-beta01

Change-Id: I5acad074c6dc067b10d37ff1416c671e7c9c91b9

* Apply Spotless

---------

Co-authored-by: kul3r4 <[email protected]>
… completeness (#517)

* Fix scrollState for List and expand the snippet to show kore code for completeness

* Apply Spotless

---------

Co-authored-by: kul3r4 <[email protected]>
* Properly handle recycling of RecomposeHighlighterModifier

After migrating to be Node based, it's possible the Modifier node can be reused. For example, when scrolling in a LazyColumn the nodes of items scrolled off the viewport may be recycled and used with items scrolling into the viewport. When this occurs, the composition count needs to be reset. Otherwise, it may look like the item scrolling into the viewport has recomposed more than it actually has.

* Fix code style
* State based TF snippets

* Apply Spotless

* updates

* Apply Spotless

* Update StateBasedText.kt

* Update StateBasedText.kt

* Update StateBasedText.kt

* Update StateBasedText.kt

* Apply Spotless
* Adding icon button snippets

* Apply Spotless

* Changing M3 extended icons to hardcoded drawables in IconButton code

* Apply Spotless

* Adding region tags

* Remove unused import

* Updating to hardcoded drawables

* Apply Spotless

---------

Co-authored-by: wardlauren <[email protected]>
* Adding snippet for MV-HEVC video playback

* updating the resizable snippet to include ResizeListener
* Adding TextField migration snippets

This is for the new version of https://developer.android.com/develop/ui/compose/text/user-input

* Update TextFieldMigrationSnippets.kt

optimize import

* Apply Spotless

---------

Co-authored-by: Halil Ozercan <[email protected]>
* Add state based Autofill snippets

* Update AutofillSnippets.kt

* Apply Spotless
* Update StateBasedText.kt

Update state based TF snippets

* Apply Spotless

* Update StateBasedText.kt

* Apply Spotless
* Add snippet that demonstrates how to detect a secondary hand

* Add snippet to demonstrate how to detect a basic stop gesture
* Change SceneViewer intent setup
This addresses #533 by recreating the Animatable when the node is attached.
* updating setSubspaceContent snippet

* Update Activity

---------

Co-authored-by: Dereck Bridie <[email protected]>
* Update android_system_bar_protection_kotlin to change alpha

* show less code in DAC

* use Color.rgb instead
* Fix code to also support external apps

* Sort chronologically the snippets

* Move the Activity to be used without the nullability check

---------

Co-authored-by: Rob Orgiu <[email protected]>
* Add comment to clarify that both callbacks can be used

* Apply Spotless

---------

Co-authored-by: Rob Orgiu <[email protected]>
Co-authored-by: tiwiz <[email protected]>
* Adds Watch Face Push validation library snippet

* Removed jar

* Removes unnecessary statement
kul3r4 and others added 5 commits December 2, 2025 13:55
* Updating snippets for december jxr releases.
* 🤖 Update Dependencies

* 1.10 changes.

---------

Co-authored-by: Rebecca Franks <[email protected]>
* Add snippet to create dynamic shared elements

* Change comments to Config that depends on state changing
@google-cla
Copy link

google-cla bot commented Dec 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

* Add scrollableArea snippet to GesturesSnippets

* Remove unneeded line breaks

* Import  correct scrollableArea

---------

Co-authored-by: Rebecca Franks <[email protected]>
* Various snippets for migration guidance

* Apply Spotless

---------

Co-authored-by: kul3r4 <[email protected]>
* Update CODEOWNERS with new ownership rules

* Update CODEOWNERS with new paths and owners

* Add new code owners for all paths

* Update CODEOWNERS

* Update CODEOWNERS to reflect new ownership
* More snippets: navigation and migration page

* Apply Spotless

---------

Co-authored-by: kul3r4 <[email protected]>
* Add snippet for enabling diagnostic stack traces

Demo how to enable diagnostic stack traces in Jetpack Compose for improved debugging.

The snippet shows how to conditionally enable `ComposeStackTraceMode.Auto` in the `Application.onCreate` method for debug builds, while keeping it disabled in release builds to avoid performance overhead.

* Apply Spotless

* Set to use Auto, no debug toggle

* Apply Spotless

* For debug, use SourceInformation, otherwise Auto

* Apply Spotless

* Remove duplicate copyright

* Switch back from alpha BOM

* Update to new recommendations

* Add super call

* Apply Spotless

* Add comment about enabling stacktraces at onCreate level

---------

Co-authored-by: riggaroo <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
In Compose 1.10.0 the `PreviewParameterProvider` used by Android Studio
will support custom display names. Adding a snippet with this usage to
be referred in the developer documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.