Hi,

Why don't  You try
     var getLoginTask = MyEvents.UserSignIn_Async(username, password);

and see returning type??

UserSignIn_Async returns void. The compiler moaned when I tried

var getLoginTask...

AIUI, if you're firing an event and really don't care what happens (as in this case), then private async void is fine

I'm not sure about the RunOnUiThread part. My understanding is that as the call is being made in an async method, it has to jump onto the UI thread for something to be displayed.

Thanks

Paul

--
"Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..."
Hitch Hikers Guide to the Galaxy, a truly remarkable book!

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to