how to get text from multiple edit text with the same id in android
<p>I am creating an edit text filed using xml and adding that in listview 's adapter class .i m using enumerator.by this i was able to create two textfields with the same id.the problem is how to get the strings from both the text fields since they are sharing the same id.below is the code.</p>

<pre><code>@Override
public View getView(final int position, View convertView, ViewGroup parent) {
    View rowView = null;

    AddKeywordRow row = keywordRows.get(position);

    switch (row.getRowType()) {
    case TitleRow:
        rowView = inflater.inflate(R.layout.titlerow, null);
        TextView txtTitle = (TextView) rowView.findViewById(R.id.rowtitle);
        txtTitle.setText(row.getMessage());
        break;
    case EditRow:
        rowView = inflater.inflate(R.layout.editrow, null);
        txtInput = (EditText) rowView.findViewById(R.id.rowedit);
        txtInput.setHint(row.getMessage());
        if (row.getHeight() != 0)
        {
            LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(
                     LinearLayout.LayoutParams.MATCH_PARENT,row.getHeight());
            txtInput.setLayoutParams(layoutParams); 
            layoutParams.setMargins(7, 0, 7,0);
        //txtInput.setLayoutParams(new LinearLayout.LayoutParams(
            //      LinearLayout.LayoutParams.MATCH_PARENT, row.getHeight()));
            txtInput.setPadding(3,0,0,30);  
        }
        // set padding and margin
        break;
    case MessageRow:
        rowView = inflater.inflate(R.layout.messagerow, null);
        TextView txtMessage = (TextView) rowView
                .findViewById(R.id.rowmessage);
        txtMessage.setText(row.getMessage());
        break;
    case ButtonRow:
        rowView = inflater.inflate(R.layout.buttonrow, null);
        Button btn = (Button)rowView.findViewById(R.id.button1);

        btn.setOnClickListener(new OnClickListener() {


        }
        });

        break;
    }

    return rowView;
}
</code></pre>
