Esempio n. 1
0
        protected override void OnResume()
        {
            base.OnResume();


            tees = TeeManager.GetTees();

            // create our adapter
            teeListAdapter = new Adapters.TeeListAdapter(this, tees);

            //Hook up our adapter to our ListView
            teesSpinner.Adapter = teeListAdapter;
        }
Esempio n. 2
0
        protected override void OnResume()
        {
            base.OnResume();

            //tasks = TaskManager.GetTasks();

            // create our adapter
            //taskList = new Adapters.TaskListAdapter(this, tasks);

            //Hook up our adapter to our ListView
            //taskListView.Adapter = taskList;

            tees = TeeManager.GetTees();

            // create our adapter
            teeList = new CompleteGolfAppAndroid.Adapters.TeeListAdapter(this, tees);

            //Hook up our adapter to our ListView
            teeListView.Adapter = teeList;
        }