I want data from async function to return as a list which will be assigned a list inside the synchronous function. I am calling an asynchronous function in an OnCreateView method of Fragment in xamarin android, which is returning a list. When async method go and fetch the data it goes into a wait mode. When it is waiting for data return it comes out of function and read below code lines of synchronous method where it is called. When async function is not able to a return list. It is causing empty list on my activity and showing no data.
I attached my my code rar file:
Attachment: CheckInFragment.rar