Skip to content
Permalink
Browse files

fix: ReactiveRecyclerViewAdapter having a incorrect out of bounds che…

…ck (#2055)
  • Loading branch information...
clintonrocksmith authored and glennawatson committed May 30, 2019
1 parent da0840e commit cb3e02871703bc5b8ccd8d4f0bd71c488f42f24b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewAdapter.cs
@@ -90,7 +90,7 @@ protected override void Dispose(bool disposing)

private TViewModel GetViewModelByPosition(int position)
{
return position > _list.Count ? null : _list.Items.ElementAt(position);
return position >= _list.Count ? null : _list.Items.ElementAt(position);
}

private void UpdateBindings(Change<TViewModel> change)

0 comments on commit cb3e028

Please sign in to comment.
You can’t perform that action at this time.