예제 #1
0
        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);
            }
        }
예제 #2
0
        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;
            }
        }
예제 #3
0
        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);
            }
        }
예제 #4
0
		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;
			}
		}
예제 #5
0
		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);
			}
		}
예제 #6
0
		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);
			}
		}