Open Shahjahan786 opened 6 years ago
Exception java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true android.support.v7.widget.RecyclerView{1582993a VFED.... .F.....D 0,0-480,638 #7f09015c app:id/list_chat_messages}, adapter:com.nayapay.app.chat.ui.adapter.CustomMessageAdapter@3040c533, layout:android.support.v7.widget.LinearLayoutManager@1bb0f0, context:com.nayapay.app.chat.ui.activity.ChatActivity@1e9c0301 android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal (RecyclerView.java:5864) android.support.v7.widget.RecyclerView$Recycler.recycleView (RecyclerView.java:5808) android.support.v7.widget.GapWorker.prefetchPositionWithDeadline (GapWorker.java:292) android.support.v7.widget.GapWorker.flushTaskWithDeadline (GapWorker.java:342) android.support.v7.widget.GapWorker.flushTasksWithDeadline (GapWorker.java:358) android.support.v7.widget.GapWorker.prefetch (GapWorker.java:365) android.support.v7.widget.GapWorker.run (GapWorker.java:396) android.os.Handler.handleCallback (Handler.java:810) android.os.Handler.dispatchMessage (Handler.java:99) android.os.Looper.loop (Looper.java:189) android.app.ActivityThread.main (ActivityThread.java:5532) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:950) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:745)
@Shahjahan786 Hi, I hava same exception as you, have you solved?
No I'm unable to solve it
Exception java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true android.support.v7.widget.RecyclerView{1582993a VFED.... .F.....D 0,0-480,638 #7f09015c app:id/list_chat_messages}, adapter:com.nayapay.app.chat.ui.adapter.CustomMessageAdapter@3040c533, layout:android.support.v7.widget.LinearLayoutManager@1bb0f0, context:com.nayapay.app.chat.ui.activity.ChatActivity@1e9c0301 android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal (RecyclerView.java:5864) android.support.v7.widget.RecyclerView$Recycler.recycleView (RecyclerView.java:5808) android.support.v7.widget.GapWorker.prefetchPositionWithDeadline (GapWorker.java:292) android.support.v7.widget.GapWorker.flushTaskWithDeadline (GapWorker.java:342) android.support.v7.widget.GapWorker.flushTasksWithDeadline (GapWorker.java:358) android.support.v7.widget.GapWorker.prefetch (GapWorker.java:365) android.support.v7.widget.GapWorker.run (GapWorker.java:396) android.os.Handler.handleCallback (Handler.java:810) android.os.Handler.dispatchMessage (Handler.java:99) android.os.Looper.loop (Looper.java:189) android.app.ActivityThread.main (ActivityThread.java:5532) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:950) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:745)