Android: How to use NumberPickerDialog
Could someone give me an example of how to instantiate a NumberPickerDialog within Activity.onCreateDialog ?( https://github.com/novak/numberpicker/blob/master/lib/src/com/michaelnovakjr/numberpicker/NumberPickerDialog.java ) ? There are examples in a repo called numberpicker-demo for using the widget, but none for the actual dialog. Amongst other approaches I've tried tried something like: return new NumberPickerDialog.Builder(this) .setTitle("Choose Number") .etc.. But this just shows a standard AlertDialog, without the NumberPicker. Thanks! Got it working eventually. There's an example in