December 2018
Intermediate to advanced
416 pages
10h 30m
English
Because we want to show the input photo in the input view, we need to convert it from byte[] to Xamarin.Forms.ImageSource. We will do this in a value converter that we can use together with the binding in the XAML by going through the following steps:
using System;using System.Globalization;using System.IO;using Xamarin.Forms; public class BytesToImageConverter : IValueConverter{ public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { throw new NotImplementedException(); } public object ...