I am a .NET C# developer having a go at Android development for the first time. So go easy on me.
I have a listview that is getting populated with the help of an adapter that I created. It is working as expected but I am having trouble making the adapter work asynchronously with async and await.
First the activity that sets the adapter to the listview looks like this. All async code has been removed as i am not sure where to put it.
The method underlined in red is the one I'd like to be asynchronous as the adapter calls a web service.
Where and how do I make this call asynchronous?