Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin text length limitation #66

Open
zukopvd opened this issue Apr 12, 2016 · 1 comment
Open

Pin text length limitation #66

zukopvd opened this issue Apr 12, 2016 · 1 comment

Comments

@zukopvd
Copy link

zukopvd commented Apr 12, 2016

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.

@rusmichal
Copy link

Please just use method setPinTextFormatter

rangeBar.setPinTextFormatter(new RangeBar.PinTextFormatter() {
@OverRide
public String getText(String value) {
return value;
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants