The Telerik TimeSpanPicker for Xamarin provides users with an easy way to select time duration. The TimeSpanPicker presents the user with a time interval allowing them to set a range measured in days, hours, minutes and all the way down to seconds. Such a picker covers multiple possible mobile development scenarios; for example, you can use the TimeSpanPicker to define maximum flight duration in your travel booking app. Just like all other picker controls from the Telerik UI for Xamarin suite, the TimeSpanPicker is open to multiple customizations to give you ultimate flexibility when creating your next Xamarin.Forms application.
The TimeSpanPicker for Xamarin allows you to define standard or custom timespan format string through the SpinnerFormat property, which—depending on the type of format you set—prepopulates the spinner with the values that will be picked by the end user.
In case the default templates of the Xamarin TimeSpanPicker don’t fit your needs, you can easily define custom ones for the placeholder, header, footer as well as for visualizing how the timespan is displayed.
The Display string format gives you the ability to choose what text will be displayed when the timespan has been defined.
TimeSpan range gives you the ability to define a time range when setting minimum and maximum time values and choose time in between
Take advantage of the rich styling capabilities of the TimeSpanPicker for Xamarin – style the spinners, popup, its header, footer and the text displayed when a time range is defined.
Open and close the dialog and clear the displayed time range with the Toggle and Clear command support.