Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
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
ap...@google.com <ap...@google.com> #4
deleted
jb...@google.com <jb...@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
m....@gmail.com <m....@gmail.com> #6
Thank you for finally implementing this!
il...@google.com <il...@google.com> #7
Note that this bug only covers the work on the Navigation library side. We are working with the Android Studio team to add support to the Navigation Editor and to
Until those are completed, you won't see the mime type in the visual editor and generated <intent-filter>
elements won't include your mime type in its <data>
element. You'll want to define the app:mimeType
for your <deeplink>
in XML and add an <intent-filter>
manually to your manifest, respectively.
Description
Is it possible to use deep link in navigation component witn intent filer like content// or file//? For example: content://pl.solidexplorer2.files/storage/emulated/0/Download/test.txt. I think it will be helpful for apps with navigation component that should work with content provided by other apps (like file manager). I tried this: 1) Created intent filter for activity by myself:<intent-filter
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\.txt"
android:scheme="content" />
</intent-filter>
2) Added deep link to my navigation graph:
<deepLink
android:id="@+id/deepLink"
app:uri="{path}.txt" />
But it seems not work. Intent delivered succesfully to activtiy and I can use it but navigaion component ignore it (I used logcat to print uri from intent)