Open KevinColemanInc opened 9 years ago
I grabbed the source code and I did this in ObservableRecyclerView.java:227:
for (View v = this; v != null && v != parent; ) {
ViewParent temp = v.getParent();
if (temp instanceof View) {
v = (View) temp;
offsetX += v.getLeft() - v.getScrollX();
offsetY += v.getTop() - v.getScrollY();
}
else
{break;}
}
and it seemed to fix it.
I stumbled across this post when searching on the same bug. Turns out it has been around for a while, and is logged with google here:
In case that helps you guys, or any future readers.
Any ideas why I am I getting this error? Running version 1.5.0
edit: seems to happen when I scroll down on a recyclerview that is smaller than the screen (aka, no scrolling necessary)