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

@MaxValue not working properly #52

Open
evgenybozhko2 opened this issue Jul 22, 2018 · 0 comments
Open

@MaxValue not working properly #52

evgenybozhko2 opened this issue Jul 22, 2018 · 0 comments

Comments

@evgenybozhko2
Copy link

Hello dear creator of this cool library tool.
At first I want say thank you about so good library and economy time developers like I'm.

But I have problem, with MaxValue anotation:

    @BindView(R.id.fuel_level_large)
    @MaxValue(value = EDIT_TEXT_MAX_VALUE, messageId = R.string.max_number_32767, order = 1)
    EditText fuelLevelLarge;

In this case, checking return false for empty editText, but there can't be more than EDIT_TEXT_MAX_VALUE, because this field is empty. How I can fix this issue, please help me.

Also please help me understand how I can change color of some elements in error popup dialog.

Thank you.

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

1 participant