title: EditText Settext not working with Fragment
body: <p>I have fragments for 3 states of a screen;  Add, Edit and View.
  In Add, I create an entity and save it.
  Next time I open it in View mode and set the entity name using </p>
  
  <pre><code>EditText entityName = (EditText) view.findViewById(R.id.entityName);    
  entityName.setText(entity.getEntityname());
  </code></pre>
  
  <p>I click on the edit button from View mode to open the Edit mode. I change the entity name here and save it. This brings me back to the view screen. But I find the entity name is not updated.
  I debug and found that <code>entity.getEntityname()</code>  is having correct value. I am not sure why the edit text does not take new value.</p>
  
  <p>Any ideas?</p>
  
  <p>Note: I am using android version 2.2</p>