// This method is invoked when the application has loaded its UI and its ready to run
		public override bool FinishedLaunching(UIApplication app, NSDictionary options)
		{
			//			window.AddSubview(navigation.View);
			FooListView = new ListView();
			FooListView.Root = new RootElement()
			{
				new Section()
				{
					new StringElement("foo"),
				}
			};
			
			FooListView.Frame = window.Bounds;
			FooListView.LoadView();
			
			window.AddSubview(FooListView);
			
			
			// this method initializes the main menu Dialog
			//			var startupThread = new Thread(Startup as ThreadStart);
			//			startupThread.Start();
			
			window.MakeKeyAndVisible();
			
			return true;
		}
Example #2
0
		public ListViewSource(ListView listViewContainer)		{
			Container = listViewContainer;
			Root = listViewContainer.Root;
		}
Example #3
0
		public ListViewSizingSource(ListView listView) : base(listView)		
		{
		}