示例#1
0
		public JaktTableSource(JaktsTableScreen controller)
		{
			_controller = controller;
			JaktList = JaktLoggApp.instance.JaktList;
			var datelist = (from item in JaktList
			                select item.DatoFra.Year).ToList();

			foreach(var d in datelist.Distinct()){
				headers.Add(new HeaderTableSection(d.ToString()));
			}
		}
示例#2
0
		public override void ViewDidLoad ()
		{
			
			LoadingView.Show(Utils.Translate("dataloadmessage"));
			JaktLoggApp.instance.InitializeAllData(() => {
				InvokeOnMainThread(() => {
					LoadingView.Hide();
					
					var jaktTableScreen = new JaktsTableScreen();
					PushViewController(jaktTableScreen, false);	

				});
			});
			
			base.ViewDidLoad ();
		}