java.lang.IndexOutOfBoundsException

tip

You have to provide valid identical number for each child items.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    • java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 66(offset:66).state:80 at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4401) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4359) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333) at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1161) at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1018) at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:3807) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) at android.view.Choreographer.doCallbacks(Choreographer.java:670) at android.view.Choreographer.doFrame(Choreographer.java:603) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) at android.os.Handler.handleCallback(Handler.java:746) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5443) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    10 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    brunosatrianibrunosatriani
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    20 more bugmates