title: how to remove a string from arraylist of strings, ANDROID
body: <p>I created an arraylist of strings</p>
  
  <pre><code>List&lt;String&gt; textArray = new ArrayList&lt;String&gt;();
  </code></pre>
  
  <p>and then I added the strings(which I am getting from edittext) to textArray as follows</p>
  
  <pre><code>String text = editText1.getText().toString();
  textArray.add(text);
  </code></pre>
  
  <p>Now I created a button and need to remove the string from the array when the button is clicked.But i dont know what to do. 
  I know for arrays of bitmaps we clear a bitmap from array using recycle but Please suggest me how to remove or clear the string from arraylist.</p>