title: Xamarin - Show image from base64 string
body: <p>I'm pretty new to Xamarin and XAML stuff and here is what I've done so far in my portable project used by Android &amp; iPhone (only using Android):</p>
  
  <p>Item.cs (loaded from JSON)</p>
  
  <pre><code>    [JsonProperty("image")]
      private string ImageBase64 { get; set; }
  
      [JsonIgnore]
      private Xamarin.Forms.Image _image = null;
  
      [JsonIgnore]
      public Xamarin.Forms.Image Image
      {
          get
          {
              if (_image == null)
              {
                  _image = new Xamarin.Forms.Image()
                  {
                      Source = Xamarin.Forms.ImageSource.FromStream(() =&gt; new MemoryStream(Convert.FromBase64String(ImageBase64))),
                      BackgroundColor = Color.White,
                      WidthRequest = 64,
                      HeightRequest = 64,
                  };
                  OnPropertyChanged("Image");
              }
              return _image;
          }
          private set
          { _image = value; }
      }
  </code></pre>
  
  <p>ItemsView.xaml:</p>
  
  <pre><code>&lt;StackLayout VerticalOptions="FillAndExpand" Padding="5,20,5,0" &gt;
    &lt;Label Text="Items" VerticalOptions="Center" Font="35" HorizontalOptions="Center" /&gt;
    &lt;ListView x:Name="list" ItemsSource="{Binding Items}"&gt;
      &lt;ListView.ItemTemplate&gt;
        &lt;DataTemplate&gt;
          &lt;ImageCell
                          Text="{Binding ItemName}"
                          Detail="{Binding Infos, StringFormat='{0}'}"
            Image.Source="{Binding Path=Image}"&gt;
          &lt;/ImageCell&gt;
        &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
    &lt;/ListView&gt;
  &lt;/StackLayout&gt;
  </code></pre>
  
  <p>I correctly get my labels displayed but the image isn't.
  Can someone explain me what I'm doing wrong?</p>