Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Check time after timepicker set gets wrong time

$
0
0

I have 2 timepickers, timepicker1 and timepicker2. I calculate the total amount of hours and minutes between the 2. I do this in the timerpicker.unfocused event. On iOS this works just fine, but on Android this doesn't seem to work? After I set the time, the previous time that was set will be used, not the newly set time.

So for example;

Tpicker1 : 12:00
Tpicker2 : 12:30
(0.5 Hours)

Tpicker2 set to 13:00 (it will now use the previous set time, so 12:30)
Tpicker2 set to 13:30 (it will now use 13:00)

Is there any event that waits after the time is set or an event on when the displayed time in the timepicker has changed?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>