Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

偶尔出现 java.lang.IndexOutOfBoundsException #2

Open
joshua153 opened this issue Oct 16, 2024 · 1 comment
Open

偶尔出现 java.lang.IndexOutOfBoundsException #2

joshua153 opened this issue Oct 16, 2024 · 1 comment

Comments

@joshua153
Copy link

输入过程中偶尔出现

java.lang.IndexOutOfBoundsException

Inconsistency detected. Invalid view holder adapter positionSymbolHolder{22360f5 position=9 id=-1, oldPos=-1, pLpos:-1 no parent} androidx.recyclerview.widget.RecyclerView{fe86197 VFED..... ........ 0,0-945,135}, adapter:com.yuyan.imemodule.adapter.CandidatesBarAdapter@7080378, layout:com.yuyan.imemodule.view.keyboard.manager.CustomLinearLayoutManager@48841d2, context:com.yuyan.imemodule.service.ImeService@c7e32a3
androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:6544)
androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6727)
androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:288)
androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:345)
androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:361)
androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:368)
androidx.recyclerview.widget.GapWorker.run(GapWorker.java:399)
android.os.Handler.handleCallback(Handler.java:958)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loopOnce(Looper.java:222)
android.os.Looper.loop(Looper.java:314)
android.app.ActivityThread.main(ActivityThread.java:8670)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:565)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

系统: Android 14,level 34, XiaoMi/MIUI
CPU架构: arm64-v8a

@zaoyang-chunyu
Copy link

我这里也是的,有解决方案吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants