How to get dynamically created EditText data using LayoutInflater in android?


This is Relative Layout view which is created dynamically like this :

... So my question is how to get the values from those dynamic elements and perform some calculation to show result on textview which is also dynamically created. Thanks in advance guys!!

    public void goButtonClicked(View view) {
    int numberofPlayersTolayout = (Integer) Integer.parseInt((String) numberOfPlayers.getSelectedItem());

    LayoutInflater inflater = (LayoutInflater) getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);

    LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);

    for (int i = 0; i < numberofPlayersTolayout; i++) {
        View dynamicEntryView = inflater.inflate(R.layout.player_entry_item, null);
        maalContainer.addView(dynamicEntryView, params);



for (int i = 0; i < maalContainer.getChildCount(); i++) {
    View view = maalContainer.getChildAt(i);

    EditText ed_item = (EditText) view
    EditText ed_value = (EditText) view
    EditText ed_value1 = (EditText) view