Is there any kind of asynchronous techniques that might not work with xamarin?

AnandDubey.8578AnandDubey.8578 USMember ✭✭

I am working in a application in which I am using IndoorAtlas IOS library. When I call a method of IndoorAtlas library, it never returns in its completion block/Action. So I want to confirm that if is there any kind of asynchronous technique that might not work with xamarin.

Answers

  • ArvindrajaArvindraja INMember ✭✭✭
    edited November 9

    @AnandDubey.8578
    Xamarin fully supporting asyncronous programming. It is useful to continuously execution w/o blocking UI.
    sometimes we need to complete/finish call and then move to next line and few times we need to call Async code/methods in syncronous methods for those you can use below code

    Task.Run(async () => { uCount= await GetLogin(); }).Wait();
    here you can finish your action then move to next line.
    Hope it help you.

Sign In or Register to comment.