Is there a better way to handle forms in Android
satya - 3/5/2013 10:27:36 AM
Is there a better way to handle forms in Android?
Is there a better way to handle forms in Android?
Search for: Is there a better way to handle forms in Android?
satya - 3/5/2013 10:27:59 AM
are there ways to automate form creation in Android?
are there ways to automate form creation in Android?
Search for: are there ways to automate form creation in Android?
satya - 3/5/2013 10:28:20 AM
is there a pattern for validating form fields in Android?
is there a pattern for validating form fields in Android?
Search for: is there a pattern for validating form fields in Android?
satya - 3/6/2013 9:53:40 AM
Findings
Doesn't look like there is a default framework
Use inputType to control what goes into a text view
there are many default input types
You can write validators and attach them to each field
You can do this through metadata java annotations
or attach them through code
Come with the idea of a form or a fieldset
Then when the button is pressed use the fieldset validators
Use setError on the TextView to indicate errors
satya - 3/6/2013 9:57:13 AM
Here is a good start on stackoverflow
satya - 3/6/2013 9:59:23 AM
Here is a good library that uses annotations for validations: android-saripaar
Here is a good library that uses annotations for validations: android-saripaar
satya - 3/6/2013 9:59:44 AM
Android UI libraries anroid-saripaar
Android UI libraries anroid-saripaar
satya - 3/6/2013 10:03:20 AM
Android Annotation Libraries
Android Annotation Libraries
satya - 3/6/2013 10:03:37 AM
Some examples
Android Annotations
Robo Guice
satya - 3/8/2013 1:49:39 PM
I am not the one to follow, but I have put together one for my simple needs. The link is here
I am not the one to follow, but I have put together one for my simple needs. The link is here