title: How to convert byte array to image from web API?
body: <p>My API converts many images to Byte Array and returns the Bytes, but I can't converting again to image. I intend to display in some listview all images from my API.</p>
  
  <p>I tried this but I can't get any image, I was trying to get at least one.</p>
  
  <pre><code>        var url = "https://appmaragogi.com.br/api/Files/Upload?Id=ChurrascariaEstreladoMar";
  
          Byte[] imageAsBytes = client.GetByteArrayAsync(url).Result;
  
          MemoryStream stream1 = new MemoryStream(imageAsBytes);
          teste.Source = ImageSource.FromStream(() =&gt; { return stream1; });
  </code></pre>
  
  <p>I'd like to show all images in list view, or a way to get all images</p>
  
  <p>i'm using a Image in Xaml to show the Image</p>