title: Adding EditText with button with input later used to do addition
body: <p>I am confused that after adding more EditText field, how am i suppose to know the string code so i could do an addition math to add them all up.Thank You.</p>
  
  <p><strong>Update :</strong>
  So I managed to use ArrayAdapter to add the data into an array but I am facing problem to call it back in. Help!!!</p>
  
  <pre><code>    txt = (EditText) findViewById(R.id.iteminput);
      show = (ListView) findViewById(R.id.listView);
      save = (Button) findViewById(R.id.Add);
      save.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              String getInput = txt.getText().toString();
  
              addArray.add(getInput);
              ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(Splitter.this, android.R.layout.simple_list_item_1, addArray);
              show.setAdapter(adapter);
              ((EditText) findViewById(R.id.iteminput)).setText("");
  
  
          }
      });
  
  
     public void Calculate(View v){
  
  
      for(int i = 0; i&lt;adapter.getCount() ; i++){
        Integer  Total= adapter.getItem(i);
      }
      TextView Total=(TextView)findViewById(R.id.Total);
      Total.setText("Splitted Cost: "+Total.toString());
  
    }
  </code></pre>
  
  <p><strong>The getCount couldnt get the adaptor :(</strong></p>