We have a 100% reproducable crash with the SfDataGrid. Is there anyone who had simmilar problems?Below is the minimal code base that will cause the app to crash when the user taps rapidly with two fingers on the grid (full project attached).
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Syncfusion.SfDataGrid;
namespace SfDataGridCrash
{
public class Test
{
public string T1 { get { return "T1"; } }
public string T2 { get { return "T2"; } }
public string T3 { get { return "T3"; } }
}
[Activity(Label = "SfDataGridCrash", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
LinearLayout layout = FindViewById<LinearLayout>(Resource.Id.MainLayout);
SfDataGrid grid = new SfDataGrid(BaseContext);
grid.SourceType = typeof(Test);
grid.ItemsSource = new Test[] { new Test(), new Test(), new Test() };
grid.SelectionMode = SelectionMode.Single;
layout.AddView(grid);
}
}
}We could reproduce this behaviour on all our Samsung and Getac tablets.
Sometimes it takes 100 taps, but sometimes it happens when the user double clicks an item during the normal use of our app.
Attachment:
SfDataGridCrash_7ead70d2.zip