title: Iterate through ListView and get EditText-Field values
body: <p>I've created a ListView (myList) with one EditText-Field in each row (R.id.mannschaften). Under the ListView, I've created a Button and set an OnClickListener for it in the OnCreate()-Method.
  Now when the Button is clicked, I want to iterate through the ListView and get the value of the EditText-Field in every row and save them in a String-List. But how do I do that?</p>
  
  <p>Here is my Code:</p>
  
  <pre><code>private void ButtonClick() {
      /** get all values of the EditText-Fields */
      View v;
      ArrayList&lt;String&gt; mannschaftsnamen = new ArrayList&lt;String&gt;();
      EditText et;
  
      for (int i = 0; i &lt; myList.getCount(); i++) {
          v = myList.getChildAt(i);
          et = (EditText) v.findViewById(R.id.mannschaften);
          mannschaftsnamen.add(et.getText().toString());
      }
      .....
  }
  </code></pre>
  
  <p>I already know, that getChildAt is only for the visible rows, but I don't know how to do it differently.  </p>