Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

using async within listview databinding

$
0
0

I'm trying to do some data binding within a listview. I'm trying to use the .NET 4.5 async support. Unfortunately, I'm running into a problem in my adapter. When I override the GetView, it must return a View. If I try to mark the GetView method with async, I have to return a Task, which isn't a valid override. Is there something I am missing on this? Any suggestions are appreciated.

public override View GetView(int position, View convertView, ViewGroup parent) { // blah blah blah }


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>