java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}

GitHub | doubleZuo | 4 months ago
  1. 0

    删除第一个item报错,删除其他item没问题

    GitHub | 4 months ago | doubleZuo
    java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}
  2. 0

    Crash when loadMore

    GitHub | 7 months ago | lgxDesign
    java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{36ea4f63 position=7 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}
  3. 0

    Wrong item removed from list in UI

    GitHub | 1 month ago | gr3ger
    java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{49e503 position=0 id=-1, oldPos=-1, pLpos:-1}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    addData使用问题

    GitHub | 3 months ago | yuruxuan
    java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{7a49b06 position=0 id=-1, oldPos=-1, pLpos:-1}
  6. 0

    Called attach on a child which is not detached 异常

    GitHub | 7 months ago | hehonghui
    java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{3df7ff53 position=0 id=-1, oldPos=-1, pLpos:-1}

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}

      at android.support.v7.widget.RecyclerView$5.attachViewToParent()
    2. Android v7
      RecyclerView.dispatchLayout
      1. android.support.v7.widget.RecyclerView$5.attachViewToParent(RecyclerView.java:681)
      2. android.support.v7.widget.ChildHelper.attachViewToParent(ChildHelper.java:239)
      3. android.support.v7.widget.RecyclerView.addAnimatingView(RecyclerView.java:1134)
      4. android.support.v7.widget.RecyclerView.animateDisappearance(RecyclerView.java:3485)
      5. android.support.v7.widget.RecyclerView.access$700(RecyclerView.java:151)
      6. android.support.v7.widget.RecyclerView$4.processDisappeared(RecyclerView.java:445)
      7. android.support.v7.widget.ViewInfoStore.process(ViewInfoStore.java:246)
      8. android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3330)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3080)
      9 frames