title: Set TimePickerDialog to use 15 minute intervals
body: <p>How do I set an Android <code>TimePickerDialog</code> to use 15 minute intervals?</p>
  
  <p>I need to create the picker programmatically as shown below so solutions involving a timepicker in XML (such as here: <a href="https://stackoverflow.com/questions/2580216/android-timepicker-minutes-to-15">Android - TimePicker minutes to 15</a>) will not work.</p>
  
  <pre><code>new TimePickerDialog(getActivity(), t, hour,minute, false).show();
  </code></pre>
  
  <p>The problem is that there appears to be no way to pass in a new function for <code>TimePicker .setOnTimeChangedListener()</code> when the time picker is created.</p>
  
  <p>Is it possible to use the new TimePIckerDialog constructor and use 15 minute intervals?</p>