Open zukopvd opened 8 years ago
Hello! Why you need this text formatter? private PinTextFormatter mPinTextFormatter = new PinTextFormatter() { @Override public String getText(String value) { if (value.length() > 4) { return value.substring(0, 4); } else { return value; } } };
private PinTextFormatter mPinTextFormatter = new PinTextFormatter() { @Override public String getText(String value) { if (value.length() > 4) { return value.substring(0, 4); } else { return value; } } };
Have some corresponding issues.
Please just use method setPinTextFormatter
rangeBar.setPinTextFormatter(new RangeBar.PinTextFormatter() { @Override public String getText(String value) { return value; } });
Hello! Why you need this text formatter?
private PinTextFormatter mPinTextFormatter = new PinTextFormatter() { @Override public String getText(String value) { if (value.length() > 4) { return value.substring(0, 4); } else { return value; } } };
Have some corresponding issues.