public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { SampleWorkoutController workoutController = parent.Storyboard.InstantiateViewController("SampleWorkoutController") as SampleWorkoutController; workoutController.setURL(files[indexPath.Row]); parent.NavigationController.PushViewController(workoutController, true); tableView.DeselectRow(indexPath, true); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { //GenericWorkoutPage workoutPageController = parent.Storyboard.InstantiateViewController("GenericWorkoutPage") as GenericWorkoutPage; //workoutPageController.setURL(urls[indexPath.Row]); //parent.NavigationController.PushViewController (workoutPageController, true); SampleWorkoutController workoutPageController = parent.Storyboard.InstantiateViewController("SampleWorkoutController") as SampleWorkoutController; workoutPageController.setURL(urls [indexPath.Row]); parent.NavigationController.PushViewController(workoutPageController, true); tableView.DeselectRow(indexPath, true); }
public void ViewWorkoutButton_TouchInside(UIButton sender) { SampleWorkoutController workoutController = this.Storyboard.InstantiateViewController("SampleWorkoutController") as SampleWorkoutController; this.NavigationController.PushViewController(workoutController, true); }