title: How to change every string element of an arraylist?
body: <p>I have a <code>ListView</code> with an arraylist with an unknown number of string elements. I want to change/modify every single one of these string items. The problem is that i dont know how many items there are since the user can change it.</p>
  
  <p>I have a <code>translate</code> function that takes a string and returns a string. What i want to do is</p>
  
  <pre><code>arraylistelement1 = translate(arraylistelement1);
  arraylistelement2 = translate(arraylistelement2);
  ... 
  </code></pre>
  
  <p>and repopulate the <code>listview</code> arraylist with the new strings.</p>
  
  <p>Whats a way to do this?</p>