Hey guys,
I am trying to take some large images (1920x1080) that exist either locally on the device or remotely from a web server and load them as thumbnails. The thumbnails will resemble the "CircleImage" which can be found here: http://blog.xamarin.com/elegant-circle-images-in-xamarin.forms/. These images will be used in a ListView as thumbnails, and when selected will take the user into a carousel with all the images in it.
I have actually gotten the images to load as the circular thumbnails, but the performance is very poor (and memory errors occur in my emulator, but not my physical device). I can only assume that what is causing this is the fact im using large images to create the circles from. I am successfully lazy loading a carousel with the same images, but the performance is pretty poor during scroll there too.
So I am thinking I need to create custom renderers to get these images to work more fluidly.
I've already gotten the basic code setup for the custom renderer for both situations, but I am at a loss as to which methods to override to handle the loading of the image from its imagesource. Does Xamarin.Forms base Image class load the image asynchronously and off the main UI thread? It seems I was getting much better performance when I was using Xamarin.Android...
Any help will be GREATLY appreciated!! Thanks!