Skip to content

Commit 5aa4264

Browse files
clintonrocksmithglennawatson
authored andcommitted
housekeeping: Added Virtual Keyword to method to allow overriding (#2064)
1 parent 1c45ce3 commit 5aa4264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public override int GetItemViewType(int position)
6565
/// <param name="position">The position of the current view in the list.</param>
6666
/// <param name="viewModel">The ViewModel associated with the current View.</param>
6767
/// <returns>An ID to be used in OnCreateViewHolder.</returns>
68-
public int GetItemViewType(int position, TViewModel viewModel)
68+
public virtual int GetItemViewType(int position, TViewModel viewModel)
6969
{
7070
return base.GetItemViewType(position);
7171
}

0 commit comments

Comments
 (0)