Right place for code of populating spinner
<p>I have form with a spinner control and a text box; and tables are stored in the SQLite database.</p>

<p>I am populating spinner inside onCreate method of activity. Is it right place to call database query &amp; update ui?</p>

<p>Depending upon value user selects from spinner, i have to give auto suggestion in text box. (which control i can use instead of text box, i want to force user to select from list coming from database.)</p>

<p>Also i have heard about fragment, can anyone guide me is it helpful for improving performance of the application.</p>
