Пример #1
0
        protected override void OnResume()
        {
            base.OnResume();

            tasks = StockRepository.GetStocks().ToList();

            // create our adapter
            taskList = new StockListAdapter(this, tasks);

            //Hook up our adapter to our ListView
            taskListView.Adapter = taskList;
        }
Пример #2
0
 static StockRepository()
 {
     me = new StockRepository();
 }
Пример #3
0
		static StockRepository ()
		{
			me = new StockRepository();
		}