Forum Xamarin.Android

Set the time for a TimePicker before showing

DaveWestDaveWest USUniversity

How do you set the time for the TimePicker in Android based on a DateTime hour and min? I try using the TimePicker.Hour and Minute properties, but I get a Java.Lang.NoSuchMethodError .... any advice?


  • VikasShawVikasShaw Member ✭✭

    Set TimePicker Property "Format" in xaml like this
    <TimePicker x:Name="tmpicker" Format="hh:mm"/>

Sign In or Register to comment.