예제 #1
0
        /// <summary>
        /// Requests the user to pick an image.
        /// </summary>
        /// <param name="page">Caller page for displaying messages.</param>
        public async Task PickImageAsync(Page page)
        {
            IsImageSetCompleted = false;
            var image = await ImageProvider.PickImageAsync(page);

            if (image != null)
            {
                await SetImageStreamAsync(image);

                IsImageSetCompleted = true;
            }
        }