You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came to your project via Stackoverflow, and found a bug. You're overriding onRangeMoved(), but you're delegating to notifyItemMoved(). This is only correct if itemCount is 1.
@Override
public void onItemRangeMoved(ObservableList sender, int fromPosition, int toPosition, int itemCount)
{
RecyclerView.Adapter adapter = adapterReference.get();
if (adapter != null)
{
adapter.notifyItemMoved(fromPosition, toPosition);
}
}
The text was updated successfully, but these errors were encountered:
Came to your project via Stackoverflow, and found a bug. You're overriding
onRangeMoved()
, but you're delegating tonotifyItemMoved()
. This is only correct ifitemCount
is 1.The text was updated successfully, but these errors were encountered: