First of all, hi there and thank you for a fantastic book so far!
So here is the problem that I am having. I am sorry in advance if there is something silly and/or stupid that I missed because I am new to the game.
(Using Android Studio 0.3.1 on Win 8.1 running Java V7 U45 and targeting Android SDK v19)
The compiler tells me that the variables within “onCreateDialog” (see below) must all be declared final in order to be used as parameters within the inner class…
int year = calendar.get(Calendar.YEAR); int month = calendar.get(Calendar.MONTH); int day = calendar.get(Calendar.DAY_OF_MONTH);
mDate = new GregorianCalendar(year, month, day).getTime();
Declaring these variables as final however seems to stop the dates to flow. In particular, I cannot change anything but the year via the DatePicker. Do you have any idea what I might have done wrong? Should I provide more code? Thank you for any sort of hint or advice. I would really appreciate it.