Exemplo n.º 1
0
        public void BindHotelView(Context context, ListView view)
        {
            var data = GetAllHotel();
            var myList = data.Skip(10).ToList();
            var adapter = new CustomAdapter(myList, Resource.Layout.my_listItem, this);
            view.Adapter = adapter;

            view.SetOnScrollListener(new CustomScrollLister(adapter, view));
        }
 public CustomScrollLister(CustomAdapter adapter, ListView listView)
 {
     _adapter = adapter;
     _listView = listView;
     //this._scrollFlag = scrollFlag;
 }