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

DisplayAlert

$
0
0

I am trying to use a display alert when the page gets loaded. I receive a null reference in the android.app.activity.cs: 3326. Anyone have any ideas why this happens? or having working displayalert? I wonder since I call it in the constructor its causing this?

the call I am trying use looks like this

var answer = await DisplayAlert("Welcome", "app Would Like to Use Your Current Location", "Allow", "Don't Allow");


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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