We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6788df4 commit 628d156Copy full SHA for 628d156
library/src/main/java/de/psdev/formvalidations/Form.java
@@ -60,8 +60,9 @@ private Form() {
60
mFields = new ArrayList<Field>();
61
}
62
63
- public void addField(final Field field) {
+ public Form addField(final Field field) {
64
mFields.add(field);
65
+ return this;
66
67
68
public Form errorHandler(final FormErrorHandler handler) {
@@ -85,7 +86,6 @@ public boolean isValid() {
85
86
87
FormUtils.showKeyboard(textView.getContext(), textView);
88
-
89
showErrorMessage(e);
90
91
return result;
0 commit comments