Skip to content
Permalink
Browse files

housekeeping: Added Virtual Keyword to method to allow overriding (#2064

)
  • Loading branch information...
clintonrocksmith authored and glennawatson committed Jun 8, 2019
1 parent 1c45ce3 commit 5aa4264061f3542e6b27e4ece4994bbea1540b3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewAdapter.cs
@@ -65,7 +65,7 @@ public override int GetItemViewType(int position)
/// <param name="position">The position of the current view in the list.</param>
/// <param name="viewModel">The ViewModel associated with the current View.</param>
/// <returns>An ID to be used in OnCreateViewHolder.</returns>
public int GetItemViewType(int position, TViewModel viewModel)
public virtual int GetItemViewType(int position, TViewModel viewModel)
{
return base.GetItemViewType(position);
}

0 comments on commit 5aa4264

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