mrizoiwe98 avatar image
0 Votes"
mrizoiwe98 asked alessandrocaliaro commented

Binding Context causes app to crash

I am trying to follow this tutorial to bind a Switch to a Preference. The problem is when I launch the activity the app crashes. I included the Binding Context in the xaml file . But if I remove that context, and just add BindingConext = this to the cs file , then it works. I don't understand why it doesn't work if I do it the other way?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

you should post a piece of code. Which is the exception? You should find it in the output windows of vs2019

0 Votes 0 ·

0 Answers