public MoreScreenTableSource(MoreTableScreen controller) { _controller = controller; var section1 = new SectionMapping("", ""); sections.Add(section1); section1.Rows.Add(new RowItemMapping { Label = "Mine felter", GetValue = () => { return ""; }, RowSelected = () => { var fieldScreen = new LoggSetupScreen(); _controller.NavigationController.PushViewController(fieldScreen, true); }, ImageFile = "Images/Icons/Tabs/Felter.png" }); section1.Rows.Add(new RowItemMapping { Label = "Last opp data", GetValue = () => { return ""; }, RowSelected = () => { var fieldScreen = new UploadDataScreen(); _controller.NavigationController.PushViewController(fieldScreen, true); }, ImageFile = "Images/Icons/Tabs/Jaktloggen.png" }); section1.Rows.Add(new RowItemMapping { Label = "Om Jaktloggen", GetValue = () => { return ""; }, RowSelected = () => { var fieldScreen = new Forside(); _controller.NavigationController.PushViewController(fieldScreen, true); }, ImageFile = "Images/Icons/Tabs/Gevir.png" }); }
public UploadDataTableSource(UploadDataScreen controller) { _controller = controller; }