inmite / android-validation-komensky

A simple library for validating user input in forms using annotations.
Apache License 2.0
508 stars 78 forks source link

Dynamic change verification message #26

Closed IlyaEremin closed 9 years ago

IlyaEremin commented 9 years ago

Is it possible? And more: is it possible to set not string id, but string itself (I have string with %1$s, so just string id does not fit for me)

tomas-vondracek commented 9 years ago

Unfortunately, it's not possible. You wouldn't be able to use localised strings. There is a workaround, but not very convenient - you can use CustomValidator and override method getMessage