Getting out of memory exception while loading image using 'FFImageLoading.CachedImage' in xamrinform

gdkgdk INMember ✭✭✭

Hi everyone. I want to show list of images in single page as like gallery. In my xaml page I am creating single wrap view, in that wrap view I have
add 'ffimageloader' for loading images. Here I have gave list of image url' to that wrap view contain ffimageloader. When I called that page it shows fallowing error.

'system.outofmemoryexception: out of memory at ffimageloading.platformimageloadertask.......' like that. many post's suggest if we using ffimageloader instead of image tag we will reduce this type of issues but still getting same issues after using this one also. I am running my application in xamarin android. Please suggest any idea.

Here is the sample code what I have tried

<CustomWrapView x:Name="SampleGalleryView" ItemsSource="{Binding GalleryImages}">
   < CustomWrapView.ItemTemplate>
         <ffimageloading:CachedImage Source="{Binding ImageUrl}" />
 < /CustomWrapView.ItemTemplate>



Sign In or Register to comment.