title: Loop through all "widgets"/elements in a Activity
body: <p>I started my own android app a few days ago since I needed a mobile application to store a bunch of data I collect in the hospital.</p>
  
  <p>I'm pretty new to Java and android environment, although it seems easy to understand and very similar to C++.</p>
  
  <p>Anyway, my application has a bunch of "EditText" and radio buttons and my question is:</p>
  
  <p>How can I iterate through all those widgets (EditTexts and radio buttons)?</p>
  
  <p>In .NET you could do a "for each element in container " loop but I can't seem to find a way to do this in Java/android environment.</p>
  
  <p>Note: I don't know how many "widgets" exist in the activity, since some are created dinamicaly, others are hardcoded and some others show if some user preferences are set</p>
  
  <p>Any help or hint would be appreciated.</p>