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

System.Reflection.TargetException: Non-static method requires a target.

$
0
0

whenever I set the object of a binding to null I get the above exception .

not a property of the object but the object itself.

eg,

if currentphoto is set to null I get the above exception. not only here but throughout my app when ever I set the object to null.

it is entirely valid to do this, say the user deletes an object.

of course this is a show stopper as the app just crashes.

Im testing an Android app, but haven't tested it on other platforms.
I have version 1.2.3.6257 of xforms. vs2013.


Viewing all articles
Browse latest Browse all 58056

Trending Articles