public override void PrepareForSegue(UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue(segue, sender); if (segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.CardViewModels; _tableController.SetEstimatedHeight(175); } }
public override void PrepareForSegue(UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue(segue, sender); if (segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.ItemViewModels; _tableController.SetEstimatedHeight(40); _tableController.View.Alpha = ViewModel.ItemViewModels.Count == 0 ? 0 : 1; _tableController.AddAnimation = UITableViewRowAnimation.Left; _tableController.DeleteAnimation = UITableViewRowAnimation.Left; } }
public override void PrepareForSegue(UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue(segue, sender); if (segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.CardViewModels; _tableController.IsPullToRefreshEnabled = true; _tableController.OnPullToRefresh = OnPullToRefresh; _tableController.HandleScrolled = OnScrolled; _tableController.HandleDraggingStarted = OnDraggingStarted; _tableController.TableView.AccessibilityIdentifier = "HomePage_ListView"; _tableController.SetEstimatedHeight(175); } }
public override void PrepareForSegue (UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue (segue, sender); if(segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.ItemViewModels; _tableController.SetEstimatedHeight (40); _tableController.View.Alpha = ViewModel.ItemViewModels.Count == 0 ? 0 : 1; _tableController.AddAnimation = UITableViewRowAnimation.Left; _tableController.DeleteAnimation = UITableViewRowAnimation.Left; } }
public override void PrepareForSegue (UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue (segue, sender); if(segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.CardViewModels; _tableController.IsPullToRefreshEnabled = true; _tableController.OnPullToRefresh = OnPullToRefresh; _tableController.HandleScrolled = OnScrolled; _tableController.HandleDraggingStarted = OnDraggingStarted; _tableController.TableView.AccessibilityIdentifier = "HomePage_ListView"; _tableController.SetEstimatedHeight (175); } }
public override void PrepareForSegue (UIStoryboardSegue segue, NSObject sender) { base.PrepareForSegue (segue, sender); if(segue.DestinationViewController.GetType() == typeof(PSObservableTableController)) { _tableController = segue.DestinationViewController as PSObservableTableController; _tableController.Collection = ViewModel.CardViewModels; _tableController.SetEstimatedHeight (175); } }