- All Implemented Interfaces:
- android.widget.NumberPicker.Formatter
public class TwoDigitFormatter
extends java.lang.Object
implements android.widget.NumberPicker.Formatter
Copy of {android.widget.NumberPicker.TwoDigitFormatter}, modified
so that it doesn't use libcore.
Use a custom NumberPicker formatting callback to use two-digit minutes
strings like "01". Keeping a static formatter etc. is the most efficient
way to do this; it avoids creating temporary objects on every call to
format().