Update the Wear media sample to Material3 and nav 3 - #2737
Merged
Merged
Conversation
From version 0.8 we are removing these methods since the reccomended way is to use updateInstalledTiles instead.
* Update all dependencies * Update screenshots --------- Co-authored-by: Mend Renovate <bot@renovateapp.com>
* Switch AI module to m3 --------- Co-authored-by: yschimke <231923+yschimke@users.noreply.github.com>
* Updates to M3 and genai SDK --------- Co-authored-by: yschimke <231923+yschimke@users.noreply.github.com>
The `androidx.hilt.navigation.compose.hiltViewModel` import has been changed to `androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel` across multiple sample app files. This change reflects an update in the Hilt library where the `hiltViewModel` function is now located in a different package.
* Support images in AI sample * 🤖 metalava --------- Co-authored-by: yschimke <231923+yschimke@users.noreply.github.com>
* Increase text contrast * spotlessApply
* Upgrade Publish plugin and remove explicit Sonatype host The Publish plugin has been upgraded from v0.33.0 to v0.34.0. This new version defaults to the Sonatype host `google.oss.sonatype.org`, allowing the removal of the explicit host configuration. * publish javadoc * workaround * Don't fail on warnings * Fix publishing? * Fix publishing? * Fix publishing? * Update docs/updating.md Co-authored-by: Gustavo Pagani <luizgrp@gmail.com> * Update docs/updating.md Co-authored-by: Gustavo Pagani <luizgrp@gmail.com> --------- Co-authored-by: Gustavo Pagani <luizgrp@gmail.com>
…2662) * Adds the FastScrollingTransformingLazyColumn into Horologist * Add sample and test * Added header rows to the sample and tests --------- Co-authored-by: Bryson Paul <brysonpaul@google.com> Co-authored-by: Yuri Schimke <yuri@schimke.ee>
* Update screenshots * 🤖 Updates screenshots * Avoid end screenshots for now --------- Co-authored-by: yschimke <231923+yschimke@users.noreply.github.com>
…he FastScrollingTLC (google#2668) * Remove all screenshots from before to get clean new ones for the test * 🤖 Updates screenshots * Increase scroll size in tests * 🤖 Updates screenshots * Update fast scrolling handling logic to be more performant * use rotary behaviour * spotless apply * test clean --------- Co-authored-by: Bryson Paul <brysonpaul@google.com> Co-authored-by: Yuri Schimke <yschimke@google.com>
… of using custom logic (google#2669) Co-authored-by: Bryson Paul <brysonpaul@google.com>
* Add API for capturing composable in Tiles --------- Co-authored-by: yschimke <231923+yschimke@users.noreply.github.com>
yschimke
reviewed
Jun 22, 2026
yschimke
reviewed
Jun 22, 2026
| public fun getPageParam(backStack: NavBackStackEntry): Int? { | ||
| val pageNumber = backStack.arguments?.getInt(page, -1) ?: -1 | ||
| return if (pageNumber < 0) null else pageNumber | ||
| public fun getPageParam(route: String): Int? { |
Collaborator
There was a problem hiding this comment.
Can we use typesafe deeplinks with nav3?
https://cs.android.com/search?q=DeepLinkRequest%20serializable&sq=
or at least androidx.navigation3.runtime.deeplink.DeepLinkRequest?
Collaborator
Author
There was a problem hiding this comment.
made another attempt here to use TypeSafe navigation
yschimke
reviewed
Jun 22, 2026
yschimke
reviewed
Jun 22, 2026
yschimke
reviewed
Jun 22, 2026
yschimke
reviewed
Jun 23, 2026
yschimke
reviewed
Jun 23, 2026
yschimke
reviewed
Jun 23, 2026
yschimke
reviewed
Jun 23, 2026
yschimke
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WHAT
Update the Wear media sample to Material3 and nav 3. SOme more work is required but breaking down otherwise it becomes a very large PR
WHY
Updating samples and guidance for media apps on Wear OS to use Material 3 requires changes in Horologist
HOW
Checklist 📋