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 <6952116+JolandaVerhoef@users.noreply.github.com>
* 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 <442644+devbridie@users.noreply.github.com>
Co-authored-by: Jan Kleinert <jkleinert@google.com>
* 🤖 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 <anomis@google.com>
Co-authored-by: simona-anomis <35065668+simona-anomis@users.noreply.github.com>
* Update to 1.5.0-beta01

Change-Id: I5acad074c6dc067b10d37ff1416c671e7c9c91b9

* Apply Spotless

---------

Co-authored-by: kul3r4 <820891+kul3r4@users.noreply.github.com>
… completeness (#517)

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

* Apply Spotless

---------

Co-authored-by: kul3r4 <820891+kul3r4@users.noreply.github.com>
* 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 <203715894+wardlauren@users.noreply.github.com>
* 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 <halilibo@google.com>
* 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 <devbridie@users.noreply.github.com>
* 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 <robertoorgiu@google.com>
* Add comment to clarify that both callbacks can be used

* Apply Spotless

---------

Co-authored-by: Rob Orgiu <robertoorgiu@google.com>
Co-authored-by: tiwiz <2534841+tiwiz@users.noreply.github.com>
* Adds Watch Face Push validation library snippet

* Removed jar

* Removes unnecessary statement
* Adds WFP snippets

* Update wear/src/main/java/com/example/wear/snippets/watchfacepush/WatchFacePush.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update wear/src/main/java/com/example/wear/snippets/watchfacepush/WatchFacePush.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Minor fix

* Minor updates

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* 🤖 Update Dependencies

* Fix version update issues

* Fix version update issues

* Apply suggestion from @gemini-code-assist[bot]

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: Simona Milanovic <anomis@google.com>
Co-authored-by: Simona <35065668+simona-anomis@users.noreply.github.com>
Co-authored-by: Yacine Rezgui <rezgui.y@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update Autofill Snippets to include both state and value based text fields in main

* Update AutofillSnippets.kt

* Update AutofillSnippets.kt

* Update AutofillSnippets.kt
* add in projected snippets for AI glasses: glasses activity, launching a glasses activity

* add in device capabilty check
* Adds TV snippets

* Adds TV launcher intent

* Add Featured Carousel to TvMoviesActivity (#769)

* Add featured movie list to TvMoviesActivity
* Integrate FeaturedCarousel into the main UI layout
* Remove unused appcompat and material dependencies from build file
* Remove edge-to-edge configuration in TvMoviesActivity

* Update `TvMoviesActivity` styling and downgrade Java version

* Enhance movie title visibility in `TvMoviesActivity` by adding a semi-transparent black background, white text color, and padding
* Downgrade `sourceCompatibility`, `targetCompatibility`, and `jvmTarget` from Java 21 to Java 11 in `tv/build.gradle.kts`

* Remove `ExampleUnitTest.kt` from the `tv` module

* Refactor module inclusions in settings.gradle.kts (#769)

* Refactor module inclusions in settings.gradle.kts
- Move `:tv` module into the main `include` block for consistency
- Add trailing comma to the `:kmp:shared` entry

---------

Co-authored-by: Paul Lammertsma <plammer@google.com>
* add pbl snippets

* Apply Spotless

* fixed formatting issues

* added guava dependency

* renamed playbillinglibrary directory to playbilling
* Adds missing snippets for Datalayer and standalone mode

* Apply Spotless

---------

Co-authored-by: kul3r4 <820891+kul3r4@users.noreply.github.com>
Code snippets are from these existing pages:
https://developer.android.com/ai/gemini
https://developer.android.com/ai/vertex-ai-firebase

Co-authored-by: Kat Kuan <kkuan2011@users.noreply.github.com>
* Add missing snippet and add more code for formatting

* Apply Spotless

---------

Co-authored-by: kul3r4 <820891+kul3r4@users.noreply.github.com>
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 7.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v5...v7)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rebecca Franks <riggaroo@google.com>
* Adds snippets for Dynamic Expressions

* Update wear/src/main/java/com/example/wear/snippets/dynamicexpressions/DynamicExpressions.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update wear/src/main/java/com/example/wear/snippets/dynamicexpressions/DynamicExpressions.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Add missing snippet and add more code for formatting

* Adds coroutines for Data Layer sample

* fix format
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.