AwesomeValidation
AwesomeValidation copied to clipboard
Validation always returns true in FragmentActivity
I coded a submit form inside DialogFragment. after the button pressed it always returns true. How can I use this validation in FragmentActivity
@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.