From 92a8273fbf1a2ff19308b3d83a6321e2c6d8fcb6 Mon Sep 17 00:00:00 2001 From: Michael Stuart Date: Tue, 3 Jun 2014 10:17:08 -0400 Subject: [PATCH] Update ViewGroup.cs because of unused parameter. The overload of InsertSubView that had the "position" parameter was not using the parameter at all, but was sending a hard-coded value of -1. --- XibFree/ViewGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XibFree/ViewGroup.cs b/XibFree/ViewGroup.cs index f60361e..333b4ae 100644 --- a/XibFree/ViewGroup.cs +++ b/XibFree/ViewGroup.cs @@ -74,7 +74,7 @@ public IEnumerable SubViews /// Layout parameters for the subview. public void InsertSubView(int position, UIView view, LayoutParameters lp) { - InsertSubView(-1, new NativeView(view, lp)); + InsertSubView(position, new NativeView(view, lp)); } ///