public override void ViewDidLoad() { base.ViewDidLoad(); this.View.UserInteractionEnabled = true; CustomUIExtensions.ViewShadowForChatPupUp(_backgroundView); _pictureImage.Image?.Dispose(); if (!string.IsNullOrEmpty(_picture)) { _pictureCopy = string.Copy(_picture); ImageService.Instance.LoadStream((token) => { return(ImageHelper.GetStreamFromImageByte(token, _picture)); }).ErrorPlaceholder("profile_noimage", ImageSource.CompiledResource).Retry(3, 200).Finish(CleanString).Transform(new CircleTransformation()).Into(_pictureImage); } else { _pictureImage.Image = UIImage.FromBundle("profile_noimage"); CustomUIExtensions.RoundView(_pictureImage); } UILabelExtensions.SetupLabelAppearance(_nameLabel, _name, Colors.Black, 13f, UIFontWeight.Semibold); UILabelExtensions.SetupLabelAppearance(_descriptionLabel, _message, Colors.Black, 12f, UIFontWeight.Regular); _openChatButton.TouchUpInside -= OnOpenChatButton_TouchUpInside; _openChatButton.TouchUpInside += OnOpenChatButton_TouchUpInside; Xamarin.Essentials.Vibration.Vibrate(TimeSpan.FromMilliseconds(500)); gesture.AddTarget(() => HandleDrag(gesture)); this.View.AddGestureRecognizer(gesture); }