title: How to add string builder data to listview in android?
body: <p>I am getting data from  PHP server and i read it as string builder. Now i want to add it to listview . How can i do it? Here is my php data. I want to display it in Listview </p>
  
  <pre><code>private String convertStreamToString(InputStream is) {
          String line = "";
          StringBuilder total = new StringBuilder();
          BufferedReader rd = new BufferedReader(new InputStreamReader(is));
          try {
              while ((line = rd.readLine()) != null) {
  
                  total.append(line+"\n");
                      }
          } catch (Exception e) {
              Log.v("sat", ""+e);
          }
  </code></pre>
  
  <p>And result is:</p>
  
  <pre><code>["A","B","C","D","E","F","G"]
  </code></pre>
  
  <p>Now  How can i add this data to listview?</p>