Status Update
Comments
jb...@google.com <jb...@google.com>
cs...@supercharge.io <cs...@supercharge.io> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Clara Fok <
Link:
Add clearBackStack non-reified overload for route from KClass
Expand for full commit details
Add clearBackStack non-reified overload for route from KClass
Test: ./gradlew navigation:navigation-runtime:cC
Bug: 381938808
Relnote: "Added non-reified overload for clearBackStack with KClass<*>"
Change-Id: I676443ef1ac6cbb7464fb5677c8639ef1786272d
Files:
- M
navigation/navigation-runtime/api/current.txt
- M
navigation/navigation-runtime/api/restricted_current.txt
- M
navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerRouteTest.kt
- M
navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
Hash: e834d66344cf27e9ad880769c22c3a15ebd3cc86
Date: Mon Dec 02 16:18:06 2024
jb...@google.com <jb...@google.com> #3
Fixed internally, available in navigation-2.9.0-alpha04
cs...@supercharge.io <cs...@supercharge.io> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Clara Fok <
Link:
Add getBackStackEntry non-reified overload for route from KClass
Expand for full commit details
Add getBackStackEntry non-reified overload for route from KClass
Test: ./gradlew navigation:navigation-runtime:cC
Bug: 381938808
Relnote: "Added non-reified overload for getBackStackEntry with KClass<T>"
Change-Id: Icf9692ffcf3103b1ec0c6b98e436eec09f7f9d9d
Files:
- M
navigation/navigation-runtime/api/current.txt
- M
navigation/navigation-runtime/api/restricted_current.txt
- M
navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerRouteTest.kt
- M
navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
Hash: ce52c0e24b075c532f4721756f831edbf91edeeb
Date: Tue Dec 03 17:04:04 2024
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
Author: Clara Fok <
Link:
Update non-reified clearBackStack and popBackStack
Expand for full commit details
Update non-reified clearBackStack and popBackStack
Added <T : Any> type parameter to the API
Test: existing tests
Bug: 381938808
Bug: 363225480
Relnote: "non-reified clearBackStack and popBackStack expects route from KClass<T> instead of KClass<*>"
Change-Id: I4d7436075cb46c8664ab670be483768e1528f17d
Files:
- M
navigation/navigation-runtime/api/current.txt
- M
navigation/navigation-runtime/api/restricted_current.txt
- M
navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerRouteTest.kt
- M
navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
Hash: ae333139fec0719656bbf0f81943a6ee9e68a096
Date: Tue Dec 03 17:11:54 2024
cl...@google.com <cl...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.navigation:navigation-runtime:2.9.0-alpha04
pr...@google.com <pr...@google.com> #7
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.navigation:navigation-common:2.9.0-alpha04
androidx.navigation:navigation-runtime:2.9.0-alpha04
androidx.navigation:navigation-common:2.8.5
androidx.navigation:navigation-runtime:2.8.5
il...@google.com <il...@google.com> #9
We've added a note to the release notes - thanks again!
In the future, note that you can add a Relnote:
line in the pull request's description to ensure it gets into the release notes automatically.
ko...@gmail.com <ko...@gmail.com> #10
Thanks! I followed the Relnote:
, maybe it should be added there.
Description
Version used: 2.8.3
@Serializable
class MyRoute(
val platforms: List<Platform>
)
enum class Platform {
ANDROID, IOS
}
composable<MyRoute> { MyScreen() }
This will result in an exception:
java.lang.IllegalArgumentException: Route MyRoute could not find any NavType for argument platforms of type kotlin.collections.ArrayList - typeMap received was {}
Please support list of enums by default.