xamarin/anroid中 自定義適配器(adaptter)使用

1、創建適配器,繼承BaseAdapter 2、編寫構造方法,傳入需要的參數,上下文對象、數據源等 3、重寫方法public override Java.Lang.Object GetItem(int position)獲取下標對應的內容 public override Java.Lang.Object GetItem(int position) { return data[position] a
相關文章
相關標籤/搜索