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

Today pointer

Thread ID:

Created:

Updated:

Platform:

Replies:

142038 Jan 16,2019 09:01 AM UTC Jan 17,2019 11:52 AM UTC Xamarin.Forms 1
loading
Tags: SfSchedule
Anton
Asked On January 16, 2019 09:02 AM UTC

Hi, I have application with SfSchedule within.

Problem: Device saves application in  memory, but today-marker is not changing.
If I ran application yesterday, saved it in memory, and start app today (not cold start) it shows me yesterday cell as today (with rounded selector).

Can I access that property in sfSchedule to set today-cell manually?

Subburaj Pandian Veluchamy [Syncfusion]
Replied On January 17, 2019 11:52 AM UTC

Hi Anton, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, we have checked your requirement of refreshing the Schedule when the minimize / sleep the application in Xamarin.Forms and it can be achieved. Schedule holds as in the memory when application sleeps, when the time / date changing or manually changing the default time, it won’t affect the Schedule because application in sleeps. By calling the NavigateTo method in Schedule while Resuming the application, it can be refreshed.  
 
In the application OnResume override method, called the NavigateTo method of Schedule with current time. So that, Schedule will move to the updated current date while resuming the application from sleep. Please refer the following code example for the same, 
 
[c#] 
       protected override void OnResume () 
              { 
            // Handle when your app resumes 
            schedule?.NavigateTo(DateTime.Now); 
       } 
 
 
We have prepared sample for the same, 
 
Sample link: Schedule_ResumeSample 
 
Please let us know, if this helpful. 
  
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

Live Chat Icon For mobile
Live Chat Icon