Open kingofglory opened 7 years ago
I need three things to track the problem.
Any resolution on this issue? I am having this issue.
@Aspsine Here is crash log, java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true com.aspsine.irecyclerview.IRecyclerView{24fd888 VFED..... ......ID 0,119-1752,1800 #7f0a0e25 app:id/patient_gridview}, adapter:com.aspsine.irecyclerview.WrapperAdapter@107b42f, layout:androidx.recyclerview.widget.LinearLayoutManager@4883a3c, context:activities.MainActivity@d10d07a Stack trace androidx.recyclerview.widget.RecyclerView$Recycler.recycleViewHolderInternal RecyclerView.java:6433 androidx.recyclerview.widget.RecyclerView$Recycler.quickRecycleScrapView RecyclerView.java:6554 androidx.recyclerview.widget.RecyclerView$LayoutManager.removeAndRecycleScrapInt RecyclerView.java:9249 androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep3 RecyclerView.java:4207 androidx.recyclerview.widget.RecyclerView.dispatchLayout RecyclerView.java:3862 androidx.recyclerview.widget.RecyclerView.onLayout RecyclerView.java:4404 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.RelativeLayout.onLayout RelativeLayout.java:1103 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 androidx.swiperefreshlayout.widget.SwipeRefreshLayout.onLayout SwipeRefreshLayout.java:625 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.RelativeLayout.onLayout RelativeLayout.java:1103 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.LinearLayout.setChildFrame LinearLayout.java:1829 android.widget.LinearLayout.layoutVertical LinearLayout.java:1673 android.widget.LinearLayout.onLayout LinearLayout.java:1582 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.LinearLayout.setChildFrame LinearLayout.java:1829 android.widget.LinearLayout.layoutVertical LinearLayout.java:1673 android.widget.LinearLayout.onLayout LinearLayout.java:1582 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.LinearLayout.setChildFrame LinearLayout.java:1829 android.widget.LinearLayout.layoutVertical LinearLayout.java:1673 android.widget.LinearLayout.onLayout LinearLayout.java:1582 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.RelativeLayout.onLayout RelativeLayout.java:1103 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 androidx.drawerlayout.widget.DrawerLayout.onLayout DrawerLayout.java:1231 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.LinearLayout.setChildFrame LinearLayout.java:1829 android.widget.LinearLayout.layoutVertical LinearLayout.java:1673 android.widget.LinearLayout.onLayout LinearLayout.java:1582 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.widget.FrameLayout.layoutChildren FrameLayout.java:332 android.widget.FrameLayout.onLayout FrameLayout.java:270 com.android.internal.policy.DecorView.onLayout DecorView.java:1099 android.view.View.layout View.java:23753 android.view.ViewGroup.layout ViewGroup.java:7277 android.view.ViewRootImpl.performLayout ViewRootImpl.java:3678 android.view.ViewRootImpl.performTraversals ViewRootImpl.java:3138 android.view.ViewRootImpl.doTraversal ViewRootImpl.java:2199 android.view.ViewRootImpl$TraversalRunnable.run ViewRootImpl.java:9079 android.view.Choreographer$CallbackRecord.run Choreographer.java:999 android.view.Choreographer.doCallbacks Choreographer.java:797 android.view.Choreographer.doFrame Choreographer.java:732 android.view.Choreographer$FrameDisplayEventReceiver.run Choreographer.java:984 android.os.Handler.handleCallback Handler.java:883 android.os.Handler.dispatchMessage Handler.java:100 android.os.Looper.loop Looper.java:237 android.app.ActivityThread.main ActivityThread.java:8129 java.lang.reflect.Method.invoke Method.java com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:496 com.android.internal.os.ZygoteInit.main ZygoteInit.java:1100
When end footerview appearing,remove the last item,then wiil crash.The log is as above.Can you tell you what's the problem?Thank you!