Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

RecyclerView Crash #4

Open
DeweyReed opened this issue Sep 7, 2018 · 0 comments
Open

RecyclerView Crash #4

DeweyReed opened this issue Sep 7, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@DeweyReed
Copy link
Owner

Logcat:

java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true android.support.v7.widget.RecyclerView{47f7b2 VFED.V... .F....ID 0,0-1080,1572 #7f090094 app:id/listAppPermissions}, adapter:com.finalweek10.permission.ui.detail.AppDetailAdapter@d011766, layout:android.support.v7.widget.LinearLayoutManager@d7c3aa7, context:com.finalweek10.permission.ui.detail.AppDetailActivity@cec88ea
at android.support.v7.widget.RecyclerView$Recycler.updateViewCacheSize(Unknown Source)
                                                   convertPreLayoutPositionToPostLayout
                                                   recycleViewHolderInternal
                                                   quickRecycleScrapView
                                                   getScrapOrHiddenOrCachedHolderForPosition
                                                   offsetPositionRecordsForInsert
at android.support.v7.widget.RecyclerView$Recycler.clear(Unknown Source)
                                                   setViewCacheSize
                                                   validateViewHolderForOffsetPosition
                                                   tryBindViewHolderByDeadline
                                                   getViewForPosition
                                                   tryGetViewHolderForPositionByDeadline
                                                   invalidateDisplayListInt
                                                   recycleView
                                                   addViewHolderToRecycledViewPool
                                                   getScrapOrCachedViewForId
                                                   onAdapterChanged
                                                   offsetPositionRecordsForMove
                                                   offsetPositionRecordsForRemove
                                                   setViewCacheExtension
                                                   setRecycledViewPool
at android.support.v7.widget.GapWorker.add(Unknown Source)
                                       postFromTraversal
                                       buildTaskList
                                       isPrefetchPositionAttached
                                       prefetchPositionWithDeadline
                                       prefetchInnerRecyclerViewWithDeadline
                                       flushTaskWithDeadline
                                       prefetch
at android.support.v7.widget.GapWorker.add(Unknown Source)
                                       postFromTraversal
                                       buildTaskList
                                       isPrefetchPositionAttached
                                       prefetchPositionWithDeadline
                                       prefetchInnerRecyclerViewWithDeadline
                                       flushTaskWithDeadline
                                       prefetch
at android.support.v7.widget.GapWorker.remove(Unknown Source)
                                       flushTasksWithDeadline
at android.support.v7.widget.GapWorker.add(Unknown Source)
                                       postFromTraversal
                                       buildTaskList
                                       isPrefetchPositionAttached
                                       prefetchPositionWithDeadline
                                       prefetchInnerRecyclerViewWithDeadline
                                       flushTaskWithDeadline
                                       prefetch
at android.support.v7.widget.GapWorker.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:743)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689)

我估计是用的RecyclerView的Library的问题,换掉换掉。

@DeweyReed DeweyReed added the bug Something isn't working label Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant