-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Calendar initialization is very slow #9
Comments
Hi @FabriBertani |
@FabriBertani Check please latest version(1.1.0) |
Hey @yurkinh, I've tested it on Android but unfortunately, the issue remains. |
@FabriBertani Are you testing it in Release mode? |
@yurkinh Oh sorry my bad, I hadn't tried it in release mode, it works much better on release mode now. |
@FabriBertani Great! |
Any news about performance optimizations coming soon @yurkinh ?? I can observe this initial lag even with a totally stripped out implementation:
I tried to implement it in a FlyoutItem scenario, once I click on the Calendar item, the lag happens and freezes the Flyout menu midway for a sec. I was able to capture this in a screenshot: In VS Output window, I get the following:
While doing a little research, I found the following discussions to be interesting: |
Hi @usefulBeeing |
Thank you @yurkinh. Glad to hear you have a plan and not abandoning this great plugin! Except for the lag I described, which happens in both debug and release mode alike, I find your plugin to be very light weight compared to other products I tried in the past. |
Hi @yurkinh, thank you for porting this plugin.
I want to point to this issue with the delay of the calendar initialization on mobile platforms, Android and iOS, this does not happen on Windows (I haven't tried on MacCatalyst yet).
I guess that this happens due to how the Grid is filled up with items in the
ViewLayoutBase
or something related to theMonthDaysView
.Currently, I don't have enough time to deep dive into this issue, but I noticed a few things, just using the
SampleApp
(I'm usingSimplePage
,WeekViewPage
andAdvancedPage
to run some tests):SimplePage (Android):
WeekViewPage (Android):
AdvancedPage (Android):
SimplePage (Android):
WeekViewPage (Android):
AdvancedPage (Android):
Also, worth mentioning that in the original plugin, there was a similar issue reported: [Bug] Calendar initializes very slow #101, but it seems that they fixed it because I've tested the Xamarin SampleApp and the load works really fast.
Thank you!
The text was updated successfully, but these errors were encountered: