MacOS building for Mac and iphone simulator.
MAUI RC3
VS for Mac 2022 RC2
Monterey 12.3.1
Intel mac mini
iphone Simulator 13.3.1 (977.2)
Completed Part 2, hit the "Get Monkeys" button and the list pulls from internet and propagates view correctly. Hitting "Get Monkeys" a second time, not good.
-
On Mac desktop build, the list clears and repopulates with just the first monkey (Baboon). White space below still allows scrolling but no other monkeys showing.
-
On iphone simulator, throws exception.
Reason: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') (System.ArgumentOutOfRangeException)
at System.Collections.Generic.List1[[MonkeyFinder.Model.Monkey, MonkeyFinder, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_Item(Int32 index) at System.Collections.ObjectModel.Collection
1[[MonkeyFinder.Model.Monkey, MonkeyFinder, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].System.Collections.IList.get_Item(Int32 index)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.ElementAt(Int32 index)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.get_Item(Int32 index)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.get_Item(NSIndexPath indexPath)
at Microsoft.Maui.Controls.Handlers.Items.ItemsViewController1[[Microsoft.Maui.Controls.ReorderableItemsView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetSizeForItem(NSIndexPath indexPath) at Microsoft.Maui.Controls.Handlers.Items.ItemsViewDelegator
2[[Microsoft.Maui.Controls.ReorderableItemsView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Items.ReorderableItemsViewController`1[[Microsoft.Maui.Controls.ReorderableItemsView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetSizeForItem(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
at UIKit.UICollectionView.InsertItems(NSIndexPath[] indexPaths)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.<>c__DisplayClass41_0.b__0()
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.Update(Action update, NotifyCollectionChangedEventArgs args)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.Add(NotifyCollectionChangedEventArgs args)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.CollectionChanged(NotifyCollectionChangedEventArgs args)
at Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.<>c__DisplayClass37_0.b__0()
at Foundation.NSAsyncActionDispatcher.Apply()