ragunathjawahar / android-saripaar

UI form validation library for Android
Apache License 2.0
3.22k stars 460 forks source link

Error with @Order annotation use #206

Open mshohrat opened 6 years ago

mshohrat commented 6 years ago

hi, I am using this library for validating and other benefits of its MaterialEditText. but on some devices i get an exception like below: "Fatal Exception: java.lang.IllegalStateException: All fields are ordered, so this com.rengwuxian.materialedittext.MaterialEditText should be ordered too, declare the view as a field and add the @Order annotation." I ordered all MaterialEditTexts in my app and i have no idea why this error occurs again. should I order all the widgets on the screen like Buttons, Switch,TextViews and etc. ? please help me about this. thank you.

adamdv91 commented 6 years ago

Have you found a solution for this issue mshohrat?

mshohrat commented 6 years ago

Unfortunately not yet.

adamdv91 commented 6 years ago

I seemed to have fixed it by removing all ordering that was done in the Activity.