{"action":"created","issue":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/649","repository_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper","labels_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/649/comments","events_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/649/events","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/649","id":196859447,"number":649,"title":"在OnResume中再次初始化头部的时候会出现下面错误？？？？？？版本：2.6.6","user":{"login":"mrchenmo","id":18020929,"avatar_url":"https://avatars.githubusercontent.com/u/18020929?v=3","gravatar_id":"","url":"https://api.github.com/users/mrchenmo","html_url":"https://github.com/mrchenmo","followers_url":"https://api.github.com/users/mrchenmo/followers","following_url":"https://api.github.com/users/mrchenmo/following{/other_user}","gists_url":"https://api.github.com/users/mrchenmo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrchenmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrchenmo/subscriptions","organizations_url":"https://api.github.com/users/mrchenmo/orgs","repos_url":"https://api.github.com/users/mrchenmo/repos","events_url":"https://api.github.com/users/mrchenmo/events{/privacy}","received_events_url":"https://api.github.com/users/mrchenmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-21T06:48:19Z","updated_at":"2016-12-21T08:54:15Z","closed_at":null,"body":"java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{2fde25c7 position=0 id=-1, oldPos=-1, pLpos:-1}\r\n                                                                   at android.support.v7.widget.RecyclerView$4.attachViewToParent(RecyclerView.java:581)\r\n                                                                   at android.support.v7.widget.ChildHelper.attachViewToParent(ChildHelper.java:212)\r\n                                                                   at android.support.v7.widget.RecyclerView.addAnimatingView(RecyclerView.java:1003)\r\n                                                                   at android.support.v7.widget.RecyclerView.animateDisappearance(RecyclerView.java:2911)\r\n                                                                   at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2711)\r\n                                                                   at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2971)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:562)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:639)\r\n                                                                   at android.widget.FrameLayout.onLayout(FrameLayout.java:574)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1959)\r\n                                                                   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1813)\r\n                                                                   at android.widget.LinearLayout.onLayout(LinearLayout.java:1722)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1959)\r\n                                                                   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1813)\r\n                                                                   at android.widget.LinearLayout.onLayout(LinearLayout.java:1722)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1195)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:639)\r\n                                                                   at android.widget.FrameLayout.onLayout(FrameLayout.java:574)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1959)\r\n                                                                   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1813)\r\n                                                                   at android.widget.LinearLayout.onLayout(LinearLayout.java:1722)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:639)\r\n                                                                   at android.widget.FrameLayout.onLayout(FrameLayout.java:574)\r\n                                                                   at android.view.View.layout(View.java:16112)\r\n                                                                   at android.view.ViewGroup.layout(ViewGroup.java:5185)\r\n                                                                   at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2525)\r\n                                                                   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2217)\r\n                                                                   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1314)\r\n                                                                   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6673)\r\n                                                                   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:800)\r\n                                                                   at android.view.Choreographer.doCallbacks(Choreographer.java:603)\r\n                                                                   at android.view.Choreographer.doFrame(Choreographer.java:572)\r\n                                                                   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:786)\r\n                                                                   at android.os.Handler.handleCallback(Handler.java:815)\r\n                                                                   at android.os.Handler.dispatchMessage(Handler.java:104)\r\n                                                                   at android.os.Looper.loop(Looper.java:194)\r\n                                                                   at android.app.ActivityThread.main(ActivityThread.java:5826)\r\n                                                                   at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                   at java.lang.reflect.Method.invoke(Method.java:372)\r\n                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1010)\r\n                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)"},"comment":{"url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/comments/268469813","html_url":"https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/649#issuecomment-268469813","issue_url":"https://api.github.com/repos/CymChad/BaseRecyclerViewAdapterHelper/issues/649","id":268469813,"user":{"login":"1109993488","id":4213541,"avatar_url":"https://avatars.githubusercontent.com/u/4213541?v=3","gravatar_id":"","url":"https://api.github.com/users/1109993488","html_url":"https://github.com/1109993488","followers_url":"https://api.github.com/users/1109993488/followers","following_url":"https://api.github.com/users/1109993488/following{/other_user}","gists_url":"https://api.github.com/users/1109993488/gists{/gist_id}","starred_url":"https://api.github.com/users/1109993488/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1109993488/subscriptions","organizations_url":"https://api.github.com/users/1109993488/orgs","repos_url":"https://api.github.com/users/1109993488/repos","events_url":"https://api.github.com/users/1109993488/events{/privacy}","received_events_url":"https://api.github.com/users/1109993488/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T08:54:15Z","updated_at":"2016-12-21T08:54:15Z","body":"恩，后续户优化"}}
{"actor":{"display_login":"1109993488"}}