Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

NullReferenceException on InitializeComponents - What did I do wrong?

$
0
0

Hello,

I've encountered an error when loading a new ContentPage. When the app reaches InitializeComponents() I'm thrown with System.NullReferenceException. (both on iOS and Android)

Can someone please explain what I did wrong here?

Here's the code and stack trace: (I used PasteBin because they're long)
SettingsPage.xaml
SettingsPage.xaml.cs
Stack Trace

Thanks in advance for any help!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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