-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[MaterialDatePicker + MaterialTimePicker] (Maybe others as well) slow load time #1910
Comments
@chennemann do you know if this latency has been fixed? |
I built the catalog module in debug mode and noticed there was a delay as well. video-75d7fcad-efe2-4bbf-8575-983ca5e43fc2-1662569342.mp4When I use the app from the play store, it is much quicker. |
For people landing here, you need to test with release config because the debug's one is very slow |
is there any update to this? |
too much lag while opening RangePicker. |
I also want to give a feedback, as @LaurentLixfe mentioned, when you build your app in Release configuration, all components run much faster, fast enough as they should. Please try to test in release, for performance tests. |
Yes Thanks @onurerden for your feedback, It was working perfectly in Release but it takes too much freez in Debug version |
Thanks!, it really works fine on release version but is extrememly laggy in debug, |
Description:
I want to use those components in my app but I notice some really unusual loading speed for the initial load after the app is cold started. It takes up to three seconds for the pickers to show up after they are requested.
That behaviour happens when I start the application from Android Studio on my phone or in the emulator. When I use the Sample App for the Material Components from the PlayStore it's behaving normally (so no opening delay). I'm actually kinda clueless what the reasoning might be.
Consecutive clicks are faster.
Expected behavior:
The Pickers should show up nearly instantaneously.
Source code:
This screencapture is from a minimal application that consists just of one Activity:
The layout just contains the two buttons:
Android API version: 10
Material Library version: 1.3.0-alpha04
Device: OnePlus 6T & Emulator in Android Studio
The text was updated successfully, but these errors were encountered: