Nic*_*sen 3 c# java android xamarin.android
你如何做我的MonoDroid?
public class ItemListAdapter : BaseAdapter
{
IEnumerable<Item> items;
public override Java.Lang.Object GetItem(int position)
{
items.ElementAt(position);
}
}
Run Code Online (Sandbox Code Playgroud)
问题是我需要覆盖GetItem()因为我的子类BaseAdapter,但显然上面会导致编译器错误.
有任何想法吗?