Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (_colorView != null)
            {
                _colorView.Dispose();
                _colorView = null;
            }

            if (_valueName != null)
            {
                _valueName.Dispose();
                _valueName = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_checkImageView != null)
            {
                _checkImageView.Dispose();
                _checkImageView = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_linkImageView != null)
            {
                _linkImageView.Dispose();
                _linkImageView = null;
            }

            if (_title != null)
            {
                _title.Dispose();
                _title = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (IconImage != null)
            {
                IconImage.Dispose();
                IconImage = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Exemple #5
0
        void ReleaseDesignerOutlets()
        {
            if (_bottomSeparatorView != null)
            {
                _bottomSeparatorView.Dispose();
                _bottomSeparatorView = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ScoreView != null)
            {
                ScoreView.Dispose();
                ScoreView = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Exemple #7
0
        void ReleaseDesignerOutlets()
        {
            if (SelectionImageView != null)
            {
                SelectionImageView.Dispose();
                SelectionImageView = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_badges != null)
            {
                _badges.Dispose();
                _badges = null;
            }

            if (_badgesWidthContraint != null)
            {
                _badgesWidthContraint.Dispose();
                _badgesWidthContraint = null;
            }

            if (_image != null)
            {
                _image.Dispose();
                _image = null;
            }

            if (_markButton != null)
            {
                _markButton.Dispose();
                _markButton = null;
            }

            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }

            if (_oldPrice != null)
            {
                _oldPrice.Dispose();
                _oldPrice = null;
            }

            if (_price != null)
            {
                _price.Dispose();
                _price = null;
            }

            if (_maxPrice != null)
            {
                _maxPrice.Dispose();
                _maxPrice = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_backgroundView != null)
            {
                _backgroundView.Dispose();
                _backgroundView = null;
            }

            if (_title != null)
            {
                _title.Dispose();
                _title = null;
            }
        }
Exemple #10
0
            public override UIView GetView(UIPickerView pickerView, nint row, nint component, UIView view)
            {
                var item  = ItemsSource.ElementAt((int)row) as PickerCollectionItemVM;
                var label = new AppRopio.Base.iOS.Controls.ARLabel()
                            .WithFrame(0, 0, pickerView.Bounds.Width, GetRowHeight(pickerView, component))
                            .WithTune(tune =>
                {
                    tune.Text          = item.ToString();
                    tune.TextAlignment = UITextAlignment.Center;
                });

                label.SetupStyle(ThemeConfig.ProductDetails.DetailsCell.Picker.PickerCell.Value);

                return(label);
            }
Exemple #11
0
        public virtual CGSize GetSizeForItem(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
        {
            var itemVm = GetItemAt(indexPath) as MultiCollectionItemVM;

            if (itemVm != null)
            {
                var label = new AppRopio.Base.iOS.Controls.ARLabel {
                    Frame = new CGRect(0, 0, 0, PDMultiSelectionTextCell.LABEL_HEIGHT), Text = itemVm.ValueName
                };

                label.SetupStyle(ThemeConfig.ProductDetails.DetailsCell.MultiSelection.MultiSelectionCell.Value);
                label.SizeToFit();

                return(new CGSize(label.Bounds.Width + PDMultiSelectionTextCell.HORIZONTAL_MARGINS, collectionView.Bounds.Height));
            }

            return(new CGSize(74, collectionView.Bounds.Height));
        }
        void ReleaseDesignerOutlets()
        {
            if (OverlayView != null)
            {
                OverlayView.Dispose();
                OverlayView = null;
            }

            if (BadgeView != null)
            {
                BadgeView.Dispose();
                BadgeView = null;
            }

            if (BadgeLabel != null)
            {
                BadgeLabel.Dispose();
                BadgeLabel = null;
            }

            if (AmountLabel != null)
            {
                AmountLabel.Dispose();
                AmountLabel = null;
            }

            if (ItemImageView != null)
            {
                ItemImageView.Dispose();
                ItemImageView = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }

            if (TotalPriceLabel != null)
            {
                TotalPriceLabel.Dispose();
                TotalPriceLabel = null;
            }
        }
Exemple #13
0
        void ReleaseDesignerOutlets()
        {
            if (_decButton != null)
            {
                _decButton.Dispose();
                _decButton = null;
            }

            if (_imageView != null)
            {
                _imageView.Dispose();
                _imageView = null;
            }

            if (_incButton != null)
            {
                _incButton.Dispose();
                _incButton = null;
            }

            if (_priceLabel != null)
            {
                _priceLabel.Dispose();
                _priceLabel = null;
            }

            if (_quantityActivityIndicator != null)
            {
                _quantityActivityIndicator.Dispose();
                _quantityActivityIndicator = null;
            }

            if (_quantityLabel != null)
            {
                _quantityLabel.Dispose();
                _quantityLabel = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }
Exemple #14
0
        void ReleaseDesignerOutlets()
        {
            if (_addressLabel != null)
            {
                _addressLabel.Dispose();
                _addressLabel = null;
            }

            if (_distanceImageView != null)
            {
                _distanceImageView.Dispose();
                _distanceImageView = null;
            }

            if (_distanceLabel != null)
            {
                _distanceLabel.Dispose();
                _distanceLabel = null;
            }

            if (_distanceView != null)
            {
                _distanceView.Dispose();
                _distanceView = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }

            if (_workTimeLabel != null)
            {
                _workTimeLabel.Dispose();
                _workTimeLabel = null;
            }

            if (_infoLabel != null)
            {
                _infoLabel.Dispose();
                _infoLabel = null;
            }
        }
Exemple #15
0
        void ReleaseDesignerOutlets()
        {
            if (_iconImage != null)
            {
                _iconImage.Dispose();
                _iconImage = null;
            }

            if (_imageHeight != null)
            {
                _imageHeight.Dispose();
                _imageHeight = null;
            }

            if (_imageWidth != null)
            {
                _imageWidth.Dispose();
                _imageWidth = null;
            }

            if (_legalTextView != null)
            {
                _legalTextView.Dispose();
                _legalTextView = null;
            }

            if (_nextButton != null)
            {
                _nextButton.Dispose();
                _nextButton = null;
            }

            if (_tableView != null)
            {
                _tableView.Dispose();
                _tableView = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BackgroundView != null)
            {
                BackgroundView.Dispose();
                BackgroundView = null;
            }

            if (OverlayView != null)
            {
                OverlayView.Dispose();
                OverlayView = null;
            }

            if (ScoreLabel != null)
            {
                ScoreLabel.Dispose();
                ScoreLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_address != null)
            {
                _address.Dispose();
                _address = null;
            }

            if (_indicator != null)
            {
                _indicator.Dispose();
                _indicator = null;
            }

            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_address != null)
            {
                _address.Dispose();
                _address = null;
            }

            if (_count != null)
            {
                _count.Dispose();
                _count = null;
            }

            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_bottonSeparator != null)
            {
                _bottonSeparator.Dispose();
                _bottonSeparator = null;
            }

            if (_collectionView != null)
            {
                _collectionView.Dispose();
                _collectionView = null;
            }

            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_valueName != null)
            {
                _valueName.Dispose();
                _valueName = null;
            }

            if (_bottomSeparator != null)
            {
                _bottomSeparator.Dispose();
                _bottomSeparator = null;
            }

            if (_selectionImageView != null)
            {
                _selectionImageView.Dispose();
                _selectionImageView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_bottomSeparator != null)
            {
                _bottomSeparator.Dispose();
                _bottomSeparator = null;
            }

            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }

            if (_value != null)
            {
                _value.Dispose();
                _value = null;
            }
        }
        public virtual CGSize GetSizeForItem(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
        {
            var itemVm = GetItemAt(indexPath) as IAutocompleteItemVM;

            var itemSpacing = ((layout as UICollectionViewFlowLayout)?.MinimumInteritemSpacing ?? 0f) * 2f;
            var maxWidth    = (DeviceInfo.ScreenWidth - collectionView.ContentInset.Left - collectionView.ContentInset.Right - itemSpacing) / 2.0f;

            if (itemVm != null)
            {
                var label = new AppRopio.Base.iOS.Controls.ARLabel {
                    Text = itemVm.AutocompleteText
                };

                label.SetupStyle(ThemeConfig.ContentSearch.AutocompeleteCell.Title);
                label.SizeToFit();

                return(new CGSize(label.Bounds.Width + AutocompleteCell.HORIZONTAL_MARGINS, AutocompleteCell.CONTENT_HEIGHT));
            }

            return(new CGSize(52, collectionView.Bounds.Height));
        }
        public virtual CGSize GetSizeForItem(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
        {
            var itemVm = GetItemAt(indexPath) as CollectionItemVM;

            if (itemVm != null)
            {
                if (itemVm.DataType == AppRopio.Models.Products.Responses.ProductDataType.Text)
                {
                    var label = new AppRopio.Base.iOS.Controls.ARLabel {
                        Text = itemVm.ValueName
                    };

                    label.SetupStyle(ThemeConfig.ProductDetails.DetailsCell.Collection.Value);
                    label.SizeToFit();

                    return(new CGSize(label.Bounds.Width + PDHorizontalTextCell.HORIZONTAL_MARGINS, collectionView.Bounds.Height));
                }
            }

            return(new CGSize(40, collectionView.Bounds.Height));
        }
Exemple #24
0
        void ReleaseDesignerOutlets()
        {
            if (BadgeLabel != null)
            {
                BadgeLabel.Dispose();
                BadgeLabel = null;
            }

            if (BadgeView != null)
            {
                BadgeView.Dispose();
                BadgeView = null;
            }

            if (DateLabel != null)
            {
                DateLabel.Dispose();
                DateLabel = null;
            }

            if (ProductImageView != null)
            {
                ProductImageView.Dispose();
                ProductImageView = null;
            }

            if (ProductTitleLabel != null)
            {
                ProductTitleLabel.Dispose();
                ProductTitleLabel = null;
            }

            if (ReviewTextLabel != null)
            {
                ReviewTextLabel.Dispose();
                ReviewTextLabel = null;
            }
        }
Exemple #25
0
        void ReleaseDesignerOutlets()
        {
            if (_image != null)
            {
                _image.Dispose();
                _image = null;
            }

            if (CatalogButton != null)
            {
                CatalogButton.Dispose();
                CatalogButton = null;
            }

            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

            if (ContinueLabel != null)
            {
                ContinueLabel.Dispose();
                ContinueLabel = null;
            }

            if (OrderNumberLabel != null)
            {
                OrderNumberLabel.Dispose();
                OrderNumberLabel = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Exemple #26
0
        void ReleaseDesignerOutlets()
        {
            if (_name != null)
            {
                _name.Dispose();
                _name = null;
            }

            if (_fromLabel != null)
            {
                _fromLabel.Dispose();
                _fromLabel = null;
            }

            if (_toLabel != null)
            {
                _toLabel.Dispose();
                _toLabel = null;
            }

            if (_fromField != null)
            {
                _fromField.Dispose();
                _fromField = null;
            }

            if (_toField != null)
            {
                _toField.Dispose();
                _toField = null;
            }

            if (_bottomSeparator != null)
            {
                _bottomSeparator.Dispose();
                _bottomSeparator = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (_descriptionLabel != null)
            {
                _descriptionLabel.Dispose();
                _descriptionLabel = null;
            }

            if (_doneButton != null)
            {
                _doneButton.Dispose();
                _doneButton = null;
            }

            if (_iconImage != null)
            {
                _iconImage.Dispose();
                _iconImage = null;
            }

            if (_imageHeight != null)
            {
                _imageHeight.Dispose();
                _imageHeight = null;
            }

            if (_imageWidth != null)
            {
                _imageWidth.Dispose();
                _imageWidth = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }
Exemple #28
0
 protected virtual void SetupName(AppRopio.Base.iOS.Controls.ARLabel name)
 {
     name.SetupStyle(ThemeConfig.ProductDetails.DetailsCell.Picker.Title ?? ThemeConfig.ProductDetails.DetailsCell.Title);
 }
        void ReleaseDesignerOutlets()
        {
            if (_addressLabel != null)
            {
                _addressLabel.Dispose();
                _addressLabel = null;
            }

            if (_callButton != null)
            {
                _callButton.Dispose();
                _callButton = null;
            }

            if (_distanceImageView != null)
            {
                _distanceImageView.Dispose();
                _distanceImageView = null;
            }

            if (_distanceLabel != null)
            {
                _distanceLabel.Dispose();
                _distanceLabel = null;
            }

            if (_distanceView != null)
            {
                _distanceView.Dispose();
                _distanceView = null;
            }

            if (_infoBlockView != null)
            {
                _infoBlockView.Dispose();
                _infoBlockView = null;
            }

            if (_infoLabel != null)
            {
                _infoLabel.Dispose();
                _infoLabel = null;
            }

            if (_infoTopLineView != null)
            {
                _infoTopLineView.Dispose();
                _infoTopLineView = null;
            }

            if (_mapView != null)
            {
                _mapView.Dispose();
                _mapView = null;
            }

            if (_mapViewTopConstraint != null)
            {
                _mapViewTopConstraint.Dispose();
                _mapViewTopConstraint = null;
            }

            if (_stackViewBottomConstraint != null)
            {
                _stackViewBottomConstraint.Dispose();
                _stackViewBottomConstraint = null;
            }

            if (_routeButton != null)
            {
                _routeButton.Dispose();
                _routeButton = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }

            if (_workTimeLabel != null)
            {
                _workTimeLabel.Dispose();
                _workTimeLabel = null;
            }
        }
Exemple #30
0
        void ReleaseDesignerOutlets()
        {
            if (_bottomView != null)
            {
                _bottomView.Dispose();
                _bottomView = null;
            }

            if (_descriptionLabel != null)
            {
                _descriptionLabel.Dispose();
                _descriptionLabel = null;
            }

            if (_doneButton != null)
            {
                _doneButton.Dispose();
                _doneButton = null;
            }

            if (_headerView != null)
            {
                _headerView.Dispose();
                _headerView = null;
            }

            if (_iconImage != null)
            {
                _iconImage.Dispose();
                _iconImage = null;
            }

            if (_imageHeight != null)
            {
                _imageHeight.Dispose();
                _imageHeight = null;
            }

            if (_imageWidth != null)
            {
                _imageWidth.Dispose();
                _imageWidth = null;
            }

            if (_passwordConfirmField != null)
            {
                _passwordConfirmField.Dispose();
                _passwordConfirmField = null;
            }

            if (_passwordField != null)
            {
                _passwordField.Dispose();
                _passwordField = null;
            }

            if (_titleLabel != null)
            {
                _titleLabel.Dispose();
                _titleLabel = null;
            }
        }