maui
maui copied to clipboard
Improve performance of rendering `DatePicker`
Description of Change
- Instead of
DateTime.Now
I'm using theDateTimeOffset.Now.DateTime.Date
.
Before | After |
---|---|
- I've replaced the
.ToUniversalTime()
fromUpdateMinimumDate()
andUpdateMaximumDate()
with.ToUniversalTimeNative()
which uses TimeZone info from Java skipping loading the TZ database through .NET
Before | After |
---|---|
Issues Fixed
Fixes #24929
This issue also includes TimePicker
but I haven't looked into it yet.
Performance change
Recorded in release configuration on physical android device - Samsung Galaxy A50.
Before | After |
---|---|