title: Dynamic Form Validation In android
body: <p>I've created android app with dynamic fields like edittext, spinner, radio group. Now the problem is,all fields are dynamically created based on JSON webservice response. I'm struggling with validating and getting data's of dynamically created fields. Is there any third party library available to validate dynamically created fields or else is there any other way to validate and getting data?</p>
  
  <p>sample JSON:</p>
  
  <pre><code>[{
          "type": "text",
          "subtype": "password",
          "label": "Password",
          "className": "form-control",
          "name": "text-1477032381375",
          "maxlength": "20"
      },
      {
          "type": "text",
          "subtype": "password",
          "label": "Confirm Password",
          "className": "form-control",
          "name": "text-1477032409987",
          "maxlength": "20"
      }]
  </code></pre>