java.lang.IllegalStateException

tip

This is a bug in UltimateRecyclerView. One workaround is disabling the swipe gesture when the recyclerview is refreshing. Another workaround seems to be not specifying your own ids

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

  • java.lang.IllegalStateException: Added View has RecyclerView as parent but view is not a real child. Unfiltered index:5 at android.support.v7.widget.RecyclerView$LayoutManager.addViewInt(RecyclerView.java:6720) at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:6686) at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:6674) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1404) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353) at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1180) at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1031) at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1529) at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2486) at android.view.View.dispatchTouchEvent(View.java:7731)

Users with the same issue

Unknown visitor
Unknown visitor1 times, last one,
Unknown visitor
Unknown visitor2 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
Unknown visitor
Unknown visitor1 times, last one,