title: Multiple Date-picker Dialog
body: <p>I have 4 DatePicker Dialog in my Activity Class which are shown on click of 4 buttons . Now for these datePickerDialog i want to use same listener . <br></p>
  
  <pre><code>        DatePickerDialog taxPickerDialog = new DatePickerDialog(getCurrentContext(),dateSetListener,calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),calendar.get(Calendar.DATE));
          taxPickerDialog.show();
  
          DatePickerDialog fcPickerDialog = new DatePickerDialog(getCurrentContext(),dateSetListener,calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),calendar.get(Calendar.DATE));
          fcPickerDialog.show();
          break;
  
          DatePickerDialog expiryPickerDialog = new DatePickerDialog(getCurrentContext(),dateSetListener,calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),calendar.get(Calendar.DATE));
          expiryPickerDialog.show();
  
  
          DatePickerDialog permitPickerDialog = new DatePickerDialog(getCurrentContext(),dateSetListener,calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),calendar.get(Calendar.DATE));
          permitPickerDialog.show();
  </code></pre>
  
  <p><strong>Now i want a use listener but dnot know how to implement this ???</strong></p>
  
  <pre><code>DatePickerDialog.OnDateSetListener dateSetListener =new DatePickerDialog.OnDateSetListener() {
  
      @Override
      public void onDateSet(DatePicker view, int year, int month, int day) {
      switch(????){????}
  }
  };
  </code></pre>