SfListView & FFImageLoading height problem.

The FFImageLoading component, with Aspect="AspectFill", when use into a SfListView component, have a wrong height a it isn't clipped.

I've build a sample project to show and test the bug :
https://github.com/Nico04/FFImageLoadingSample

I've tried several cases, some work and some don't.
Case that doesn't work :
1/ FFImageLoading in a SfListView (SyncFusion ListView component)

Cases that work great :
A/ FFImageLoading in a ListView (Xamarin.Forms component)
B/ Image (Xamarin) in a SfListView
C/ FFImageLoading in a Frame in a SfListView

So the problem is an association of FFImageLoading & SfListView.

Do you have any idea ?
I have sent the same message to the FFImageLoading team :
https://github.com/luberda-molinet/FFImageLoading/issues/830

Thanks

...


4 Replies

YC Yuvaraj Chandrasekaran Syncfusion Team June 18, 2018 09:40 AM UTC

Hi Thomas, 
 
We have checked the reported issue and sample. The reported issue is not related to FFImageLoading and SfListView. It is an issue in Xamarin forms as mentioned in the Bugzilla link https://github.com/luberda-molinet/FFImageLoading/issues/830 . 
 
This issue is due to using fast image renderers in your sample and by disabling fast renderers the reported issue can be resolved. You can disable this by modifying the initialization as below. 
 
Code Snippet : 

public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity 
    { 
        protected override void OnCreate(Bundle bundle) 
        { 
            TabLayoutResource = Resource.Layout.Tabbar; 
            ToolbarResource = Resource.Layout.Toolbar; 
 
            base.OnCreate(bundle); 
 
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init(false); 
 
           global::Xamarin.Forms.Forms.Init(this, bundle); 
            LoadApplication(new App()); 
        } 
    } 
 
  
Regards, 
Yuvaraj C 



TH Thomas June 22, 2018 01:30 PM UTC

Hello,

Thank you for your answer.
Unfortunately what you provide is a workaround that lower performances, not a fix nor a real solution.

I'm sorry but IT IS an issue related to FFImageLoading and SfListView, because it doesn't work with fast renderer (which is the future).

Please provide a real fix.

Thanks


TH Thomas June 22, 2018 01:49 PM UTC

Based on the GitHub issue response, it seems that Fast Renderer is still experimental (I didn't know), so know I understand why you don't spend time for this matter.
So I will wait it to be stable, so forget my issue for know.
Thanks.


RS Rawoof Sharief Muthuja Sherif Syncfusion Team June 25, 2018 06:07 AM UTC

Hi Thomas, 
 
Thanks for the update.  
 
Regards, 
Rawoof M. 


Loader.
Up arrow icon