public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
 {
     if (indexPath.Section == 0)
     {
         var instance = new ServerConfigTableViewController();
         controller.NavigationController.PushViewController(instance, true);
     }
     else
     {
         var widgetModel = SmeedeeApp.Instance.AvailableWidgets.ElementAt(indexPath.Row);
         if (widgetModel.SettingsType != null)
         {
             var settingsControllerInstance = Activator.CreateInstance(widgetModel.SettingsType) as UIViewController;
             controller.NavigationController.PushViewController(settingsControllerInstance, true);
         }
     }
 }
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
			if (indexPath.Section == 0)
            {
				var instance = new ServerConfigTableViewController();
				controller.NavigationController.PushViewController(instance, true);
			}
			else
			{
				var widgetModel = SmeedeeApp.Instance.AvailableWidgets.ElementAt(indexPath.Row);
				if (widgetModel.SettingsType != null) 
				{
					var settingsControllerInstance = Activator.CreateInstance(widgetModel.SettingsType) as UIViewController;
					controller.NavigationController.PushViewController(settingsControllerInstance, true);
				}
			}
        }
 public ServerConfigTableSource(ServerConfigTableViewController controller) : base()
 {
     this.controller = controller;
     loginModel      = new Login();
 }
		public ServerConfigTableSource(ServerConfigTableViewController controller) : base() 
		{
			this.controller = controller;
			loginModel = new Login();
		}