We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfSchedule DayView cell tapping doesnt work in Android and UWP using latest 2 versions

Thread ID:

Created:

Updated:

Platform:

Replies:

132530 Sep 6,2017 10:56 PM UTC Sep 8,2017 12:50 PM UTC Xamarin.Forms 2
loading
Tags: SfSchedule
Emil
Asked On September 6, 2017 10:56 PM UTC

Hi,
everything was working fine using android support libraries 23.0.x.x but once I upgraded to 25.4.0.2, Whenever I tap on a cell in DayView, it throws expection below. I am handling Celltapped as below.

Schedule.CellTapped += Schedule_ScheduleCellTapped;
async void Schedule_ScheduleCellTapped(object sender, CellTappedEventArgs args)
{
///
}

09-07 00:48:47.882 I/MonoDroid(11386): UNHANDLED EXCEPTION:
09-07 00:48:47.890 I/MonoDroid(11386): System.InvalidCastException: Specified cast is not valid.
09-07 00:48:47.890 I/MonoDroid(11386): at Com.Syncfusion.Schedule.DayView.Handle_Touch (System.Object sender, Android.Views.View+TouchEventArgs motionEvent) [0x001f5] in <3994c011009644c89830cb206bd2eb54>:0
09-07 00:48:47.890 I/MonoDroid(11386): at Android.Views.View+IOnTouchListenerImplementor.OnTouch (Android.Views.View v, Android.Views.MotionEvent e) [0x00014] in :0
09-07 00:48:47.890 I/MonoDroid(11386): at Android.Views.View+IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v, System.IntPtr native_e) [0x00017] in :0
09-07 00:48:47.890 I/MonoDroid(11386): at (wrapper dynamic-method) System.Object:774e44cd-70b4-4946-90a7-aad88d4e1773 (intptr,intptr,intptr,intptr)
09-07 00:48:47.896 D/Mono (11386): Assembly Ref addref HockeySDK.AndroidBindings[0xaa230100] -> System[0x998dd2e0]: 19
09-07 00:48:47.912 W/art (11386): JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable

Emil
Replied On September 7, 2017 12:44 AM UTC

I have tested this with in detailed and I understood it has nothing to do with the support libraries. It is simply crashing for last 2 versions. I downgraded to 15.0.2.46 version and everything is working as expected. This crash occurs in UWP as well on last 2 versions


Attachment: exception_cf468589.7z


Subburaj Pandian Veluchamy [Syncfusion]
Replied On September 8, 2017 12:50 PM UTC

Hi Emil, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, we have checked and we are unable to reproduce the mentioned issue with Schedule CellTapped event in Xamain Forms (Android). We have prepared sample with updated the Xamarin.Android libraries to the latest version 25.4.0.2. for the same, please find the below sample. 
 
If the given sample doesn’t meet your requirement, could you please revert to us by modifying the provided sample with more information along with replication procedure to reproduce the issue. It will be helpful for us to check on it and provide you the solution.  
 
Regards, 
Subburaj Pandian V 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;