lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

[Bug] Calendar initializes very slow #101

Open MxPie200 opened 3 years ago

MxPie200 commented 3 years ago

I'm wondering about why the calendar does have such a long loading time when opening the App. If I create an empty project with one page containing the calendar it takes min. 5 Seconds to load - before the calendar appears I can only see an white screen.

antonioseric commented 3 years ago

Can you share more details about device you are running calendar? Can you share code how you implement it?

We do some optimization work, which will be available in new nuget release.

MxPie200 commented 3 years ago

Currently I'm running it on a Samsung A30s with Android Version10. My Code is way too much to show, but I recently created a simple project which only contains the Calendar. There is no Data (Events) loaded - but it's still taking 5 seconds to load:

https://user-images.githubusercontent.com/81758431/123224978-90a6c000-d4d2-11eb-80d5-fbefc92d6fbd.mp4

@antonioseric

antonioseric commented 3 years ago

@MxPie200 can you try latest version

MxPie200 commented 3 years ago

We are already on latest Version.

antonioseric commented 3 years ago

@MxPie200 we release it 3 days ago https://www.nuget.org/packages/Xamarin.Plugin.Calendar/1.4.5304 i should be faster.

davidbuckleyni commented 3 years ago

The speed issue is still their am using the advance sample on simluator is quite slow. Only installed nuget today

davidbuckleyni commented 3 years ago

I cant really send u a video here due to NDA but can i email u a link somehow?

MxPie200 commented 3 years ago

Sure you can, meanwhile our project is finished but im really interested in the problem.Von meinem/meiner Galaxy gesendet -------- Ursprüngliche Nachricht --------Von: David Buckley @.> Datum: 10.10.21 03:20 (GMT+01:00) An: "lilcodelab/Xamarin.Plugin.Calendar" @.> Cc: MxPie200 @.>, Mention @.> Betreff: Re: [lilcodelab/Xamarin.Plugin.Calendar] [Bug] Calendar initializes very slow (#101) I cant really send u a video here due to NDA but can i email u a link somehow?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

AdminPri commented 2 years ago

I have the same issue...a page is loaded longer when a calendar control is added

tamasszadvari commented 2 years ago

I have the same issue. I had to put the calendar control into an XCT LazyView, and load it only after the page loaded (with some delay), and it takes seconds to load the calendar.

trevoriancox commented 2 years ago

With the latest version of the control and Xamarin Forms, I am seeing much better load time, thank you!! However I would still lazy load it.