Verified
Status Update
Comments
yb...@google.com <yb...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
https://android-review.googlesource.com/2065329
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
ge...@gmail.com <ge...@gmail.com> #3
Discharge from hospital says I have baby blue
yb...@google.com <yb...@google.com>
cc...@google.com <cc...@google.com> #4
What is contacted Dependent personality disorder
ge...@gmail.com <ge...@gmail.com> #6
AB+ blood type
ge...@gmail.com <ge...@gmail.com> #7
I saw a new WorkManager version was dropped today but no new paging. Any ideas when this fix will be released? Days or weeks? Thanks.
yb...@google.com <yb...@google.com> #8
no promises but it is already scheduled so should be days hopefully.
Description
Version used: AndroidX 1.0.0-rc02, Paging:2.0.0-rc01
I use Room to load from database and display in Recyclerview using Paging library. The list will crash randomly if I scroll the list up and down very fast. Not every time but I can reproduce it easily, especially if the list is large.
Below is the crash stack:
java.lang.IndexOutOfBoundsException: Index out of bounds - passed position = 447, old list size = 240
at androidx.recyclerview.widget.DiffUtil$DiffResult.convertOldPositionToNew(DiffUtil.java:672)
at androidx.paging.PagedStorageDiffHelper.transformAnchorIndex(PagedStorageDiffHelper.java:196)
at androidx.paging.AsyncPagedListDiffer.latchPagedList(AsyncPagedListDiffer.java:343)
at androidx.paging.AsyncPagedListDiffer$2$1.run(AsyncPagedListDiffer.java:312)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6247)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)