Fixed
Status Update
Comments
da...@google.com <da...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
xz...@gmail.com <xz...@gmail.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
xz...@gmail.com <xz...@gmail.com> #4
Our team investigated that the issue is caused by a change in the RecyclerView library.
The now deprecated methods
Leanback depends on the fact that getAdapterPosition() returns a unique position for the RecyclerView, which is no longer the case if you use a
xz...@gmail.com <xz...@gmail.com> #5
Hi, any news regarding this issue?
da...@google.com <da...@google.com>
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 2b6777f6f3d8d8015150dfb17b04ade6f1932b0e
Author: Dake Gu <dake@google.com>
Date: Mon Sep 21 12:33:16 2020
leanback: fix ConcatAdapter
The widget should only care about item's getAbosoluteAdapterPosition.
Also fixed flaky GridWidgetTest.scroll(), sometimes it didn't scroll to
begin/end of the screen.
Test: GridWidgetTest.testConcat
Bug: 165694295
Change-Id: Idb70ec00aae74170425a8628290cd604934259c4
M leanback/leanback/src/androidTest/java/androidx/leanback/widget/GridActivity.java
M leanback/leanback/src/androidTest/java/androidx/leanback/widget/GridWidgetTest.java
M leanback/leanback/src/main/java/androidx/leanback/widget/GridLayoutManager.java
https://android-review.googlesource.com/1433120
Branch: androidx-master-dev
commit 2b6777f6f3d8d8015150dfb17b04ade6f1932b0e
Author: Dake Gu <dake@google.com>
Date: Mon Sep 21 12:33:16 2020
leanback: fix ConcatAdapter
The widget should only care about item's getAbosoluteAdapterPosition.
Also fixed flaky GridWidgetTest.scroll(), sometimes it didn't scroll to
begin/end of the screen.
Test: GridWidgetTest.testConcat
Bug: 165694295
Change-Id: Idb70ec00aae74170425a8628290cd604934259c4
M leanback/leanback/src/androidTest/java/androidx/leanback/widget/GridActivity.java
M leanback/leanback/src/androidTest/java/androidx/leanback/widget/GridWidgetTest.java
M leanback/leanback/src/main/java/androidx/leanback/widget/GridLayoutManager.java
da...@google.com <da...@google.com> #7
Expect to be release in upcoming release in about one week
Description
Description of the issue
When using a , the focus jumps when passing from an element from one sub-adapter to an element from the other sub-adapter.
VerticalGridView
with aConcatAdapter
E.g.:
A recording of this can be found here: ConcatAdapter_bug_on_Android_TV.mp4 .
Component used
Devices/Android versions reproduced on
Sample project