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

Accessing UI from other thread does not cause exception

$
0
0

I have a big application that I am porting to Android. What I see often, is after .net events are raised from non UI thread and if I receive those events and call some method on UI element then code does gets halted at that point but does not cause any crash. This is the first instance. if this happens again then the code excutes without trouble. What I understand is the moment I access UI from non UI thread it should crash. What this does is makes it very hard to debug my big application? Seems to be due presence of 2 VMs


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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