I have form with a spinner control and a text box; and tables are stored in the SQLite database.
I am populating spinner inside onCreate method of activity. Is it right place to call database query & update ui?
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.)
Also i have heard about fragment, can anyone guide me is it helpful for improving performance of the application.