title: android: Reload activity or refresh the view on spinner item selected,
body: <p>I have an activity in which I have added a spinner, depending on the value selected of spinner I have to update the whole view <strong><em>immidietly</em></strong>,</p>
  
  <p>this operation includes changing the locale (use of resource) and changing the background color(use of some local private variables).</p>
  
  <p>I have tried <code>onItemSelected</code> and tried to reload same activity by calling <code>startActivity</code>, but it causes the same activity to be reloaded every time and can't let perform ui operation.</p>
  
  <p>I have also tried <code>onResume</code> <code>onWindowAttached</code> methods but I could not figure out what to do there to reload activity. So I just called <code>setContentView</code> but it did not update the UI properly (Sometimes the locale is not applied and reset to default english or sometimes the wrong color is applied in background.)</p>
  
  <p>There was no crash, no exception thrown. </p>
  
  <p>I need your help to accomplish this task</p>
  
  <p>Thanks</p>