Closed AnnShih closed 6 years ago
did you call testValidity?
I celled testValidty but get empty error message instead of the message I want... What testType should I set?
I got error_field_must_not_be_empty message but I don't want it check empty for me... If I use AA.addValidator(new HasOneFilledValidator(BB, "test")) and filled BB, then I will get AA's empty error, but I want one of them has filled can be true.
Hello @AnnShih did you solve this?
I just write
public class HasOneFilledValidator extends Validator { private final EditText otherEditText;
}
and use AA.addValidator(new HasOneFilledValidator(BB, "test")); but it doen't run isValid... What did I missed?