I want to tranfer my project from Xamarin.Android to Xamarin.Forms.
In Xamarin.Android I wrote:
ImageView imageView = new ImageView(context);
bitmap = Bitmap.CreateBitmap(100, 100, Bitmap.Config.Argb8888);
bitmap.EraseColor(Color.Transparent);
Canvas canvas = new Canvas(bitmap);
imageView.SetImageBitmap(bitmap);
relativeLayout.AddView(imageView);
How i can convert this ImageView to Xamarin.Forms.Image?
Xamarin.Forms.RelativeLayout relativeLayout = new Xamarin.Forms.RelativeLayout();
relativeLayout.Children.Add((Xamarin.Forms.Image)imageView); //ERROR