Hi!
I've been running into problems when using a IReadOnlyList<T>
implementation as the data source for the ListView. The selection internally seems to be using the IndexOf
method for finding the current index of the selection but the Xamarin's internal ReadOnlyListAdapter<T>
dies because it has not been implemented.
Is this a known issue or am I doing something wrong? It seems to be working initially, but if I should navigate to the page multiple times without instantiating it again it dies on this exception. So currently I am able to work around this by just recreating the page that contains the list view.