Low performance in android with grid or chart

Hi all,
i have some page with 2-3 grid and avg of 10-20 items per grid or a chart.
i have a page that i use as a menu. It is a grid and each cell has an image withTapGestureRecognizer.
the problem is that on android the page load is very slow and freeze the UI even if i use async method (the loading indicator doesn't work, in ios yes)
How can i fix this?
thanks

5 Replies

PS Parthiban Sundaram Syncfusion Team October 30, 2017 12:19 PM UTC

Hi Alberto,

Thanks for using Syncfusion products.

We have checked the reported SfDataGrid loading performance issue in Xamarin.Forms with SfDataGrid v15.3.0.33 and Xamarin.Forms v2.3.3.180 but SfDataGrid has been loaded faster with Image in GridColumn and loaded two SfDataGrid in single page. For Your reference, we have attached our sample in the below location, please refer it. Could you please do revert us by modifying our sample to replicate the issue or share your sample along with replication procedure, also share your SfDataGrid product version and Xamarin.Forms version and loading time? these details will be help us to proceed further.

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/XamarinForms-1489824326  

Regarding the query about chart related issue

Could you please update the chart related issue details or code snippet to provide the further assistance on this?

Regards,
Parthiban S



LU Luca October 30, 2017 09:13 PM UTC

are using android device?

hte problem is that i have few data loaded in grid, but from button pressed in menu page to new page navigation is very slow.

in ios is fast



AN Ashok N Syncfusion Team October 31, 2017 06:37 PM UTC

Hi Alberto, 
 
We are sorry about the inconvenience caused.   
 
We have tested our SfDataGrid by navigating to another view using Button clicked event and loaded new SfDataGrid in that navigation page and SfDataGrid has been loaded without delay in Samsung S8+ and MI Note 4 device. Could you please confirm whether you are using any custom view or custom template inside GridTemplateColumn and share your loading time? otherwise please revert our previously updated sample based on your requirement, that will be help us to proceed further. 
 
Regards, 
Ashok   



LU Luca November 2, 2017 10:41 AM UTC

hi, 

thanks for your reply.

i think you are using a high performance phone.

try with a standard one.

i'm using only GridTextColumn with something this

 <Setter Property="Foreground"  Value="{Binding TvsY, Converter={StaticResource cellStyleConverter}}" />


 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

        {

            var amount = System.Convert.ToDouble(value);

            if (amount < 0)

                return Color.Red;

            else

                 if (amount > 0)

                return Color.Green;

            else

                return Color.Black;

        }


also with graph is slow.

on android i can't see the animation of loader that i see on IOS.




AN Ashok N Syncfusion Team November 6, 2017 12:03 PM UTC

Hi Alberto,        
    
Thanks for your update. We are able to reproduce the loading performance issue in Xamarin.Forms.Android. A support incident has been created under your account to track the status of this. Please log on to our support website to check for further updates:    
     
        
Regards,        
Ashok 

Loader.
Up arrow icon