Hi,
if I define SfNavigationDrawer as below, DrawerContet has a listview for some filters and it is not always visible, only when drawer has IsOpen=true, it sets also visible. Doing that I achieve to keep memory allocation lower but problem here is, if I rotate, my tablet (I tested on 10 inch tablet emulator also), usually after 2nd rotation, it throws exception as below.
<navigation:SfNavigationDrawer x:Name="navigationDrawer" Grid.Row="3" IsOpen="{Binding IsVisible, Mode=TwoWay}" Position="Right" Transition="Reveal"
HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" DrawerHeaderHeight="0" DrawerFooterHeight="0">
<navigation:SfNavigationDrawer.DrawerContentView>
<sfListView:SfListView x:Name="list" AutoFitMode="Height" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" IsVisible="{Binding IsVisible, Mode=OneWay}" SelectionMode="Single" />
</navigation:SfNavigationDrawer.DrawerContentView>
<navigation:SfNavigationDrawer.ContentView>
Exception:
4-17 10:06:52.941 I/MonoDroid(24614): System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
04-17 10:06:52.941 I/MonoDroid(24614): at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
04-17 10:06:52.941 I/MonoDroid(24614): at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
04-17 10:06:52.942 I/MonoDroid(24614): at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
04-17 10:06:52.942 I/MonoDroid(24614): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].UpdateLayout (System.Collections.Generic.IEnumerable`1[T] children) [0x0003f] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:298
04-17 10:06:52.942 I/MonoDroid(24614): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x0001f] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:293
04-17 10:06:52.942 I/MonoDroid(24614): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean p0, Sys