public override void ViewDidLoad() { base.ViewDidLoad(); ContentView = new ImageCollectionView(); View = ContentView; Title = "Scanned documents"; LoadPages(); var saveButton = new UIBarButtonItem(Texts.save, UIBarButtonItemStyle.Done, OnSaveButtonClick); NavigationItem.SetRightBarButtonItem(saveButton, false); }
void ReleaseDesignerOutlets() { if (MoreLessDescriptionHeightConstraint != null) { MoreLessDescriptionHeightConstraint.Dispose(); MoreLessDescriptionHeightConstraint = null; } if (DescriptionDetailsLabel != null) { DescriptionDetailsLabel.Dispose(); DescriptionDetailsLabel = null; } if (DuplicateConstraintedDescriptionLabel != null) { DuplicateConstraintedDescriptionLabel.Dispose(); DuplicateConstraintedDescriptionLabel = null; } if (ImageCollectionView != null) { ImageCollectionView.Dispose(); ImageCollectionView = null; } if (ImageCollectionViewHeightConstraint != null) { ImageCollectionViewHeightConstraint.Dispose(); ImageCollectionViewHeightConstraint = null; } if (MoreLessDescriptionButton != null) { MoreLessDescriptionButton.Dispose(); MoreLessDescriptionButton = null; } }