Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Null Reference Exception

$
0
0

Am creating a UI component , i have got a itemsource of type ObservableCollection in my sample , which am storing as DataSource of type (object). So now when i try to do (DataSource as INotifyCollectionChanged).CollectionChanged += xxxxxxxxxx; i get a null reference exception.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>