Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Tom Opgenorth
Good to know! Thanks all. On Tue, Dec 20, 2011 at 06:24, Mike Child wrote: > yes, the month value is 0 based, so 12 is not valid. You would want to use > 11. > > Mike Child > > > > On Tue, Dec 20, 2011 at 3:09 AM, Tomasz Cielecki > wrote: > > I just made a small sample here: > > https://github

Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Mike Child
yes, the month value is 0 based, so 12 is not valid. You would want to use 11. Mike Child On Tue, Dec 20, 2011 at 3:09 AM, Tomasz Cielecki wrote: > I just made a small sample here: > https://github.com/Cheesebaron/MonoDroid.DatePickerSample > > But what your exception is saying that some of th

Re: [mono-android] Using DatePickerDialog

2011-12-20 Thread Tomasz Cielecki
I just made a small sample here: https://github.com/Cheesebaron/MonoDroid.DatePickerSample But what your exception is saying that some of the values you have fed the DatePickerDialog are invalid: java.lang.IllegalArgumentException: current should be >= start and <= end I think it is the 12 you ha

Re: [mono-android] Using DatePickerDialog

2011-12-19 Thread Tom Opgenorth
Tutorial is fixed, but I'm getting an error when I try to use the DatePickerDialog. Basically, I have a button that when when clicked will display the DatePickerDialog. You pick your date, and then the date is displayed as the text of the button. The exception occurs when you click on the button,