public SettingsController(MainViewTabBarController model)
     : base(UITableViewStyle.Grouped, null)
 {
     this.Title = "Settings";
     _settingsDialog = new SettingsDialogModel ();
     _settingsModel = new SettingsModel ();
     Initialize (model);
 }
Example #2
0
 protected void DataInit(SettingsModel model)
 {
     if (model.CallForHelp == true)
         data.Add ("Emergency Help");
     if (model.DrunkDriving == true)
         data.Add ("Drunk Driving Blocked");
     if (model.OverSpeeding == true)
         data.Add ("Overspeed Notifications");
     if (model.TextMessage == true)
         data.Add ("Texting while Driving Blocked");
     if (model.VoiceUtility == true)
         data.Add ("Voice Utility Active");
 }
Example #3
0
 public MockData(SettingsModel model)
 {
     data = new List<string> ();
     DataInit (model);
     //this.data = data;
 }