Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

WebClient Android UI Freeze

I am using Xamarin.Forms and building an iOS and Android app. The app works great on iOS and the UI is fast. However, on Android, it appears that WebClient calls are hanging the UI thread. I am using the async calls so I am confused to why this is hanging the UI thread on Android.

using (WebClient ws = new WebClient())
ws.DownloadStringCompleted += Ws_DownloadStringCompleted;
ws.DownloadStringAsync(new Uri());

Sign In or Register to comment.