title: Select multiple dates in Android DatePickerDialog
body: <p>I've got a requirement to select multiple dates from Android DatePickerDialog. Below is my snippet. With this, I'm able to select only one date. I've seen other libraries like <a href="https://github.com/square/android-times-square" rel="noreferrer">https://github.com/square/android-times-square</a>. But, I'm more interested in native Android code.</p>
  
  <pre><code>override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
          val currentDate = Calendar.getInstance()
          val year = currentDate.get(Calendar.YEAR)
          val month = currentDate.get(Calendar.MONTH)
          val day = currentDate.get(Calendar.DAY_OF_MONTH)
  
          val maxDate = Calendar.getInstance()
          maxDate.add(Calendar.MONTH, 3)
  
          val datePickerDialog = DatePickerDialog(activity, onDateSet, year, month, day)
          datePickerDialog.datePicker.minDate = currentDate.timeInMillis
          datePickerDialog.datePicker.maxDate = maxDate.timeInMillis
  
          return datePickerDialog
  }
  </code></pre>