【发布时间】:2011-11-02 11:39:53
【问题描述】:
你如何在 MonoDroid 中进行以下操作?
public class ItemListAdapter : BaseAdapter
{
IEnumerable<Item> items;
public override Java.Lang.Object GetItem(int position)
{
items.ElementAt(position);
}
}
问题是我需要重写GetItem(),因为我继承了BaseAdapter,但显然上述导致编译器错误。
有什么想法吗?
【问题讨论】:
标签: c# java android xamarin.android