Fixed
Status Update
Comments
ro...@gmail.com <ro...@gmail.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
il...@google.com <il...@google.com>
ap...@google.com <ap...@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
ro...@gmail.com <ro...@gmail.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
ma...@gmail.com <ma...@gmail.com> #6
Hi
I also have this problem for scrolling positions like recyclerview scrolling when switch to another tab.
When I scroll to down in the recyclerview, and switch to another tab, and then back again, recyclerview go to top
I also have this problem for scrolling positions like recyclerview scrolling when switch to another tab.
When I scroll to down in the recyclerview, and switch to another tab, and then back again, recyclerview go to top
Description
Version used: 2.4.0-alpha05
Devices/Android versions reproduced on: Pixel 5, Android 12 beta, and Android 11 emulator
Context here in Slack:
I have a text field in a screen that is part of a navigation graph accessed through a bottom nav. When I type something in the text field, and switch to another tab, and then back again, the text field is empty. I was expecting the state to be saved.
Works in 2.4.0-alpha04 so seems to be a regression.
I have a Github repository with a sample project here, where the last commit reverts to 2.4.0-alpha04. I will zip and attach the broken version to this report. (