Exemple #1
0
        private void OpenAttachPanel()
        {
            Execute.BeginOnUIThread(() =>
            {
                var key = _simpleImagePicker.ViewModel.ImageCacheKey;
                if (key == _previewImageKey)
                {
                    return;
                }

                EditImageContainerHeightConstraint.Constant = 72;
                EditImageContainer.Hidden = false;
                InputTextView.BecomeFirstResponder();
                InvokeTopContainersHeightChangedIfNeeded();
                InvalidateIntrinsicContentSize();

                _previewImageKey = key;

                ImageService.Instance
                .LoadFile(key)
                .DownSampleInDip(60, 60)
                .IntoAsync(AttachedImageView);
            });
        }
Exemple #2
0
 public void StartEditing(string originalMessageBody)
 {
     EditingText.Text = originalMessageBody;
     InputTextView.BecomeFirstResponder();
 }