Fixed
Status Update
Comments
je...@google.com <je...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
je...@google.com <je...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug: b/264018028
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
https://android-review.googlesource.com/2373449
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug:
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
jn...@google.com <jn...@google.com>
st...@google.com <st...@google.com>
ap...@google.com <ap...@google.com> #4
deleted
st...@google.com <st...@google.com>
je...@google.com <je...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.tv:tv-material:1.0.0-alpha04
je...@google.com <je...@google.com> #6
Never mind, it's in alpha15, missed that. Thanks!
Description
Component used: Navigation (Wear/Compose)
Version used: implementation "androidx.wear.compose:compose-navigation:1.0.0-alpha13"
Devices/Android versions reproduced on: N/A
Description:
A common pattern when using Compose + Compose Navigation to build a mobile app is to observe the current back stack entry ( NavHostController.currentBackStackEntryAsState() ) to determine what parts of the scaffold should be visible for certain screens.
You can see an example of this with the bottom navigation in this guide .
However, this method doesn't exist in Wear's Navigation version of the library. Can we add it?
I specifically want to only show the vignette in my scaffold when one of the destinations -> routes is a scrollable screen.
This is what I want to do:
Let me know if you need any more information. I was hoping to add this code to the advanced sample. Thanks!