Forum Xamarin.Forms

Implemented AsyncQueryHandler, but UI still locks up

I'm trying to asynchronously query another apps ContentProvider, but it's not going too well so far. I am able to query the database and get a result, but only synchronously (even with an asynchronous implementation).

I have created the following implementation of AsyncQueryHandler:

I am using the AsyncQueryHandler in my service in the following way:

I am using the service in my ViewModel in the following way:

With the above, supposedly asynchronous implementation, the UI still locks up/freezes. What am I doing wrong?
I need to be able to do asynchronous CRUD operations.

Does anyone have any experience in this area? It's not like it's booming with documentation on this subject.


  • Tracy320Tracy320 Member ✭✭✭

    You can upload a basic demo, which will help others find the question quickly.

Sign In or Register to comment.