This view is a combination of four views, and they are:
Three spinning rods
One CalendarView
As in OnDateChangeListener, the object you passed to the init method will just be passed to the contained CalendarView, and I believe that you know that in the good old CalendarView there is a setOnDateChangeListener method .........
There is a method in the DatePicker class called getCalendarView, and it is a method that you can call if you want to access the contained CalendarView.
Once you access the contained CalendarView, you can of course call it setOnDateChangeListener
user2389347 May 16 '13 at 9:38 a.m. 2013-05-16 09:38
source share