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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GetVisibleAppointment returns no results on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

142240 Jan 24,2019 04:21 AM UTC Feb 1,2019 12:51 PM UTC Xamarin.Forms 8
loading
Tags: SfSchedule
Smokeball
Asked On January 24, 2019 04:21 AM UTC

For our mobile app. We want to style and do All Day events different to whats provided by the control. So we have set ShowAllDay to false in the Day view mode.

As a result we hook into the VisibleDatesChanged and when it changes we call GetVisibleAppointments to get the All day appointments.

However i noticed that on iOS the call returns no appointments but with the same code the method returns data on Android.

Is there some race condition impacting this?

Arun siva [Syncfusion]
Replied On January 25, 2019 02:23 PM UTC

Hi Winston, 
 
Thank you for contacting Syncfusion support. 
 
We have analyzed the reported behavior “VisibleAppointments doesn’t return appointments collection for dayview in iOS” and as we have mentioned in our UG documentation, you can get the visible appointment only after the schedule rendered, hence while swiping the appointments doesn’t available, but you can achieve this by sample level by using the local appointment collection, we have prepared a simple sample for the same. 
 
 
Sample:  Schedule 
 
We hope that this helps you, kindly revert us if you have any concern. 
 
Regards, 
Arun Siva R

Smokeball
Replied On January 28, 2019 07:48 PM UTC

Hi Arun,

I looked at the sample and this doesn't fully satisfy it all, why? Because when you have recurring appointments looking at the DataSource simply isn't enough, as there could be occurrences on the visible range, your sample only accounts for standard appointments.

What I don't understand is, why is it inconsistent, on Android, the VisibleDatesChangedEvent fires and calling GetVisibleAppointments at that time does return results, but on iOS it does not.

Subburaj Pandian Veluchamy [Syncfusion]
Replied On January 29, 2019 01:00 PM UTC

Hi Winston, 
 
Thank you for the update. 
  
Currently, we are analyzing the reported behavior “Unable to get the occurrence appointments in the visibledates changed event”. We will validate and let you know the details in one business day (January 30, 2019). We appreciate your patience until then.  
 
Regards,
Subburaj Pandian V  


Arun siva [Syncfusion]
Replied On January 30, 2019 05:35 PM UTC

Hi Winston, 
 
Thank you for your patience. 
 
We have analyzed your requirement “Unable to get the occurrence appointments in the “VisibleDatesChngedEventin schedule iOS”, as per our implementation in iOS the appointments will be rendered to the view after the swipe completed, hence we cannot get the visible appointments by using the VisibleDatesChangedEvent. Instead, you can get the visibleappointments after the view rendered (Ex: By using a button click event). 
 
Kindly revert us if you have any concern. 
 
Regards, 
Arun Siva R

Smokeball
Replied On January 30, 2019 07:47 PM UTC

Is there anyway to get notify when the view rendering has completed? Calling this via a button won't work for our app as the feature doesn't work that way.

Arun siva [Syncfusion]
Replied On January 31, 2019 12:49 PM UTC

Hi Winston, 
 
Thank you for the update. 
 
Currently, we are analyzing your requirement “Want to get the VisibleAppointments of schedule in VisibleDatesChangedEvent”, and we will update you for this on 1st February 2019. We appreciate your patience until then. 
 
Regards, 
Arun Siva R 


Smokeball
Replied On February 1, 2019 03:39 AM UTC

Ok thank you. It's very important for us to figure this out.

Subburaj Pandian Veluchamy [Syncfusion]
Replied On February 1, 2019 12:51 PM UTC

Hi Winston, 
  
Thank you for your patience. 
  
We have analyzed the reported behavior “Unable to get the visibleappointments in the visibledateschangedevent in iOS” and we have considered to improve this behavior in schedule. We have logged as a feature improvement for the same and it will be implemented in our upcoming 2108 Volume 1 release, which is expected to be available at mid of March 2019. We appreciate your patience until then. 
  
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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;