java.lang.IndexOutOfBoundsException

Inconsistency detected. Invalid item position 0(offset:-1).state:2

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6322

  • via antonioleiva.com by Unknown author, 9 months ago
    Inconsistency detected. Invalid item position 0(offset:-1).state:2
  • Inconsistency detected. Invalid item position 0(offset:-1).state:2
  • Inconsistency detected. Invalid item position 0(offset:-1).state:2
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 0(offset:-1).state:2 at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3300) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3258) at wappi.AfricanFashion.BaseLayoutManager$RenderState.next(BaseLayoutManager.java:1330) at wappi.AfricanFashion.GridLayoutManager.fill(GridLayoutManager.java:55) at wappi.AfricanFashion.BaseLayoutManager.scrollBy(BaseLayoutManager.java:840) at wappi.AfricanFashion.BaseLayoutManager.fixLayoutEndGap(BaseLayoutManager.java:616) at wappi.AfricanFashion.BaseLayoutManager.onLayoutChildren(BaseLayoutManager.java:544)

    Write tip

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

    Users with the same issue

    4 times, 9 months ago
    Once, 1 year ago
    2 times, 1 year ago
    10 times, 2 months ago
    2 times, 6 months ago
    17 more bugmates