Conversation
Change-Id: Idf4386f10c780d3edc1f8aa11b428cb146e982c3
Change-Id: I4f3c310be693ecbcbc8b99c4e573d7fc6e9a2f74
Change-Id: I72f617c594b5e0ae272cf94d2d7288446153420a
Change-Id: I02a8efb46695b3a90701966bfea4ed76aeec131b
…e string value Change-Id: I4767578028b55c2bc7b1763bdeef87345b9fbf06
Change-Id: Ia112f87c7f1bb7fa9ebe08b82d26e00b4ad17d05
Combined test coverage report
Files
|
Change-Id: I7dcd7fa9544c873edeb8270f8d89b3bcb7211428
Combined test coverage report
Files
|
alexvanyo
reviewed
May 3, 2024
...in/kotlin/com/google/samples/apps/nowinandroid/feature/foryou/navigation/ForYouNavigation.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/com/google/samples/apps/nowinandroid/ui/interests2pane/InterestsListDetailScreen.kt
Outdated
Show resolved
Hide resolved
Change-Id: Ia5bb0abd366653aff5cf5a772ac11a837e96b9b1
Combined test coverage report
Files
|
…lScreen Change-Id: I659f729191bce00683b1621c360c8f36f00595f9
Combined test coverage report
Files
|
alexvanyo
reviewed
May 3, 2024
...src/main/kotlin/com/google/samples/apps/nowinandroid/feature/interests/InterestsViewModel.kt
Show resolved
Hide resolved
claraf3
reviewed
May 3, 2024
...in/kotlin/com/google/samples/apps/nowinandroid/feature/foryou/navigation/ForYouNavigation.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/com/google/samples/apps/nowinandroid/ui/interests2pane/InterestsListDetailScreen.kt
Outdated
Show resolved
Hide resolved
SimonMarquis
reviewed
May 4, 2024
SimonMarquis
reviewed
May 4, 2024
SimonMarquis
reviewed
May 4, 2024
build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt
Outdated
Show resolved
Hide resolved
Jaehwa-Noh
reviewed
May 4, 2024
...in/kotlin/com/google/samples/apps/nowinandroid/feature/foryou/navigation/ForYouNavigation.kt
Outdated
Show resolved
Hide resolved
...pic/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/topic/TopicViewModelTest.kt
Outdated
Show resolved
Hide resolved
...sts/src/test/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsViewModelTest.kt
Outdated
Show resolved
Hide resolved
…inor tidy ups. Change-Id: Icfa79eac6f7327c365f79fd7d15dfa1f8c77184d
Change-Id: Ia5ab36f2d75d8d061e63c0cac5262503bc93a638
Change-Id: Ia197b2403e8250720387123d8c5d5d9ad809a036
Change-Id: Ia7460a618b2ddf8a25debce92308573bc18368a8
Change-Id: I535ca7fcec48c32b727c1c6c465a719d60dcb0f9
Change-Id: I63c0abb16cbf540ef72dfb945518a48113bdbf75
* main: Remove the printModulePaths task and read modules direct from settings Update pull_request_template.md Made pull request instructions clearer Update gradle wrapper Upgrade AGP to 8.4.0, Android Build Tools to 31.4.0, and Gradle to 8.7. Regenerate SVG graphs and cleanup/reformat files Update build.gradle.kts Remove duplicated AndroidX Work testing dependency Bump gradle/wrapper-validation-action from 2 to 3 🤖 Updates baselines for Dependency Guard Bump com.dropbox.dependency-guard from 0.4.3 to 0.5.0 Bump protobuf from 3.25.2 to 4.26.0 Bump app.cash.turbine:turbine from 1.0.0 to 1.1.0 Bump androidxMacroBenchmark from 1.2.2 to 1.2.3 🤖 Updates baselines for Dependency Guard Unnecessary safe call on a non-null receiver Bump androidx.activity:activity-compose from 1.8.0 to 1.8.2 Apply suggestions from code review Move Android instrumented test `ThemeTest` to unit test Change-Id: Id3283279ca5a9d90c2bbc4740d6c583ba8dded41
Change-Id: Ie9120031fc3738d0640c922624f15db0e15417d7
* main: Kotlin 2.0.0 (#1036) Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/ui/NiaApp.kt 🤖 Updates screenshots 🤖 Updates baselines for Dependency Guard Update material3-adaptive to beta01 🤖 Updates baselines for Dependency Guard Bump androidxComposeAlpha from 1.7.0-alpha08 to 1.7.0-beta01 🤖 Updates baselines for Dependency Guard Bump hilt from 2.51 to 2.51.1 Add NavigationSuiteScaffold Fix state loss with workaround Change-Id: I14d7294fe93f68b9aca6df9bf7bf87ff95583581
Change-Id: I47456f19f2b41cafe44ba7636cad6d1fea782a33
Change-Id: I782fab167103edbdaa1d95839b4fbc6e659fef4e
Combined test coverage report
Files
|
Jaehwa-Noh
reviewed
Jul 8, 2024
...in/kotlin/com/google/samples/apps/nowinandroid/feature/foryou/navigation/ForYouNavigation.kt
Show resolved
Hide resolved
Change-Id: I7c880cc73374e053ea0d41df00a4bda95ed4b551
Change-Id: I385b6f49ba37801e40bb90254abe96e2350d48e8
* main: (58 commits) Instrumented tests for InterestsListDetailScreen (#1518) Remove Firebase AD_SERVICE_CONFIG property updateProdReleaseBadging Merge Android & JVM plugins into a single `HiltConventionPlugin` Update dependency guard 🤖 Updates baselines for Dependency Guard Update to Lifecycle 2.8.3 Add android.adservices.AD_SERVICES_CONFIG to badges Apply suggestions from code review Update app/src/main/AndroidManifest.xml generateModuleGraphs dependencyGuardBaseline updateProdReleaseBadging Fix spotless. Change set to `=` operator Cleanup unused reference in `libs.versions.toml` Regenerate SVG graphs Update comment wording Use stdin to avoid repeating the output file name Replace bash commands with proper svgo cli ... Change-Id: I1d804dcb6ac0ca857cb303b8c8bff5704b5d27a5
Change-Id: I9d589cfe5c20a6b55708b99f5d79b10271af8ab4
Change-Id: I945632c419e11671eb73690999f9a234e577d16b
Change-Id: Ib093c206809a470b7f6135933bd2a72046865684
Change-Id: Ib6e47d9a9cced4c967756f95a5c98587628bd2cb
Combined test coverage report
Files
|
jdkoren
approved these changes
Sep 4, 2024
alexvanyo
approved these changes
Sep 4, 2024
...sts/src/test/kotlin/com/google/samples/apps/nowinandroid/interests/InterestsViewModelTest.kt
Outdated
Show resolved
Hide resolved
…nandroid/interests/InterestsViewModelTest.kt Co-authored-by: Alex Vanyo <vanyo@google.com>
Combined test coverage report
Files
|
Contributor
|
Could you check this PR release mode onto the device or emulator? May the |
Change-Id: I695d6e4117dd35bd34aefdaa8544f2bae2af7b3b
Change-Id: I4f1754950719e0a5fb0cc49d01a10ae1a388fd8f
Combined test coverage report
Files
|
3 tasks
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.
Overview
Navigation 2.8.0 introduces type-safe APIs for the Navigation DSL. Instead of using strings for routes and argument names, you can define types which are verified at compile-time. This blog post explains more.
What have I done and why
Migrated the navigation code from strings to types. For example, here's the old navigation code for the topic feature:
And here's the new type-safe code:
Note that there's no need to URL encode the arguments because there's no danger of them being interpreted as placeholders (e.g. "{topicId}") in the route string (because there is no route string).
I have also updated the app manifest to allow deeplinks to be tested from the terminal. Example:
adb shell am start -a android.intent.action.VIEW -d "https://www.nowinandroid.apps.samples.google.com/foryou/2" com.google.samples.apps.nowinandroid.demo.debug