title: Is it necessary to do SQLite local querys in an Asyntask?
body: <p>I have a doubt... I want to execute this code, but I don't know if it's better to do it in an Asynctask or it isn't necessary and I can execute it in the main function.. What do you think?</p>
  
  <p>The SQLite Database is local, so the acces is so fast.. Thank you!</p>
  
  <pre><code>/*Here I create an object of SQLiteHelper Class*/
          SQLiteHelper bbDD;
          bbDD = new SQLiteHelper(getActivity()); 
  
  /* Calling this method I open the database connection */
          bbDD.open(); 
  
  /* This method returns me an ArrayList, doing a SELECT in the SQLite Local Database*/
          arrayList = bbDD.selectAll(); 
  
  /* Here I Close the database connection */
          bbDD.close();  
  </code></pre>