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

Validation always returns true in FragmentActivity #83

Open
chathuraed opened this issue Oct 13, 2020 · 1 comment
Open

Validation always returns true in FragmentActivity #83

chathuraed opened this issue Oct 13, 2020 · 1 comment

Comments

@chathuraed
Copy link

I coded a submit form inside DialogFragment. after the button pressed it always returns true. How can I use this validation in FragmentActivity

@PhilippNowak96
Copy link

@chathuraed Can you show your usage of addValidation(...)? I experienced the same issue but only when I use for example the one with the Activity as the first parameter. Try to use the addValidation(TextInputLayout, Pattern, String) instead (or any other suitable method signature). This worked in my case.

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