Fixed
Status Update
Comments
ni...@google.com <ni...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
du...@gmail.com <du...@gmail.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
il...@google.com <il...@google.com>
wk...@google.com <wk...@google.com>
wk...@google.com <wk...@google.com>
il...@google.com <il...@google.com> #4
deleted
lo...@gmail.com <lo...@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
wk...@google.com <wk...@google.com> #6
did you update your safe args plugin classpath to alpha04 as well or just the runtime navigation library dependency?
lo...@gmail.com <lo...@gmail.com> #7
It's always the little things... Thanks a lot for the hint, now it's working! :)
Description
Navigation version: 1.0.0-alpha2
I recently added the new CL2 to my project alongside the Navigation library, where I have 2 navigation xml files that contain argument objects for some fragments.
The error I receive (there are multiple as there are multiple arguments) is:
> Android resource linking failed
error: 'integer' is incompatible with attribute type (attr) enum [deltaRelative=0, parentRelative=2, pathRelative=1] [weak].
error: 'string' is incompatible with attribute type (attr) enum [deltaRelative=0, parentRelative=2, pathRelative=1] [weak].