Error after changing ScheduleView in CellDoubleTapped event

I'm trying to change the schedule view from MonthView to DayView when a user double taps a day in the MonthView.  I'm receiving the following error after doing so:

System.NotSupportedException: Unable to activate instance of type Com.Syncfusion.Schedule.TapGestureListener from native handle 0x7fe56bd724 (key_handle 0x902fbab).

I'm using Syncfusion.Xamarin.SfSchedule v16.2.0.46

This same code works fine if I execute it in the CellTapped event instead of CellDoubleTapped.


         private void schedule_CellDoubleTapped(object sender, CellTappedEventArgs e)
        {
            try
            {
                if (schedule.ScheduleView == Syncfusion.SfSchedule.XForms.ScheduleView.MonthView)
                {
                    schedule.ScheduleView = Syncfusion.SfSchedule.XForms.ScheduleView.DayView;
                }
            }
            catch(Exception ex)
            {
               //Handle any exception
            }
        }

The error happens after the CellDoubleTapped method exits.

Any help will be greatly appreciated.

4 Replies

VR Vigneshkumar Ramasamy Syncfusion Team August 13, 2018 07:25 AM UTC

Hi John Prass 
   
Sorry for the inconvenience.   
   
We have checked with the provided information. We are able to reproduce the issue ‘’ Throws NotSupportedException when schedule view is changed in CellDoubleTapped event” for Xamarin Forms (Android). We have already logged issue report on this. We will fix the issue and include this fix in our upcoming volume 2 SP2 release which is expected to be available by end of month August 2018. We appreciate your patience until then.   
 
Regard 
Vigneshkumar R 



JP John Prass August 13, 2018 05:30 PM UTC

Thank You.


VR Vigneshkumar Ramasamy Syncfusion Team August 14, 2018 07:27 AM UTC

Hi John Prass  
 
Thanks for the update. As mentioned before the reported issue fix will be available in our upcoming volume 2 SP2 release which is expected to be available by end of month August 2018. We appreciate your patience until then.    
 
Regards 
Vigneshkumar R 



AA Arulraj A Syncfusion Team August 29, 2018 05:15 PM UTC

 
Thanks for your patience. 
 
We are glad to announce that our Essential Studio Volume 2 SP2 2018 (v16.2.0.50) is rolled out along with the “Throws NotSupportedException when schedule view is changed in CellDoubleTapped event in XForms (Android)” issue fix and is available for download under the following link. 
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
 
Regards, 
Arulraj A 


Loader.
Up arrow icon