title: CalendarView in Android
body: <p>I have implemented CalendarView in my project and I would like to get the DD/MM/YY format on clicking the date</p>
  
  <p>I tried the following:</p>
  
  <pre><code>calendar =(CalendarView) findViewById(R.id.calendarforstart);
  calendar.setShowWeekNumber(false);
      calendar.setFirstDayOfWeek(2);
      calendar.setOnDateChangeListener(new OnDateChangeListener() 
      {
          @Override
          public void onSelectedDayChange(CalendarView view, int year, int month, int day) 
          {
              Toast.makeText(getApplicationContext(), day + "/" + month + "/" + year, Toast.LENGTH_LONG).show();
          }
      });
  </code></pre>
  
  <p>The above works fine but if I scroll the calendar to next month or previous month. I am getting the Toast, which I don't want instead, I would like to get the toast only when I click on the on a date?</p>
  
  <p>How do I implement this?</p>
  
  <p>Let me know!</p>
  
  <p>Thanks!</p>