Can't put data into inflated EditText :S
<p>I m having a strange behaviour there. Probably something stupid but can't find out the solution</p>

<p>I m developing an application that displays a table (like an excel stuff) so that each row allows a user to enter values for several characteristics of an item (same characteristics for each item).</p>

<p>I have written an xml file for the row and, within a ListView, I inflate the file for each item. The row is basically made of several EditText and TextView.</p>

<p>Everything seems to work fine but when I enter data, as soon as the virtual keyboard disappears, every data I have typed before also disappear.
It seems to be a problem when inflating since when I am directly using setContentView with the XML file of my row, there is no such problem.</p>

<p>Any idea?</p>

<p>Following is the code where my XML file is inflated (it is called from the getView method of an ArrayAdapter for a ListView):</p>

<pre><code>private View generateItemRowView(int position, ViewGroup parent){
    String itemName = itemList[position];
    LayoutInflater inflater=this.getLayoutInflater();
    View result =inflater.inflate(R.layout.item_row_layout, parent, false);
    Button rowName=(Button)result.findViewById(R.id.row_item_name);
    rowName.setTag(""+position);
    rowName.setText(itemName);
    return result;      
}
</code></pre>

<p>Thanks</p>
