Example #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            listItems = new List<ListItem> { 
				new ListItem {Title = "Spinner", PageType= typeof(SpinnerActivity)}, 
				new ListItem {Title = "Selection Controls", PageType= typeof(SelectionActivity)},
				new ListItem {Title = "Date Picker", PageType= typeof(DatePickerActivity)},
				new ListItem {Title = "Time Picker", PageType= typeof(TimePickerActivity)},
				new ListItem {Title = "Date/Time Picker", PageType= typeof(DateTimeActivity)} 
			};

            ListAdapter = new ListItemAdapter(this, listItems);

        }
Example #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            listItems = new List <ListItem> {
                new ListItem {
                    Title = "Spinner", PageType = typeof(SpinnerActivity)
                },
                new ListItem {
                    Title = "Selection Controls", PageType = typeof(SelectionActivity)
                },
                new ListItem {
                    Title = "Date Picker", PageType = typeof(DatePickerActivity)
                },
                new ListItem {
                    Title = "Time Picker", PageType = typeof(TimePickerActivity)
                },
                new ListItem {
                    Title = "Date/Time Picker", PageType = typeof(DateTimeActivity)
                }
            };

            ListAdapter = new ListItemAdapter(this, listItems);
        }