Selecting current/actual/initialfocused date with CalendarView

619 Views Asked by At

I've seen some similar questions, with no specific answer.. Has anyone done it? The problem is with the use of :

CalendarView calendarView=(CalendarView) findViewById(R.id.calendarView1); 
    calendarView.setOnDateChangeListener(new OnDateChangeListener() { 

        @Override
        public void onSelectedDayChange(CalendarView view, int year, int month,
                int dayOfMonth) {     .........................ETC.......

When the CalendarView is first displayed, with the current(e.g. today's date) date on focus, if you click that date, there's no response, because there's no change in date... If you click any other date it works perfectly.. Please help, I'm stuck. Thanks.

0

There are 0 best solutions below