title: What is more expensive? constant database queries or first loading everything into an object-array?
body: <p>I am developing an app that at startup sets up a database cursor to display values in a listview. During the course of the app running data in the database gets updated and i am updating the cursor constantly.</p>
  
  <p>It's kinda working but sometimes the cursor lags behind the database updates, thus displaying old data in the list until after some seconds.</p>
  
  <p>Would it be more efficient if i load all the data (approx 10-20 sets of approx 20 strings and ints each) into an array of objects at startup and write to database only on close?</p>
  
  <p>What is the expense of database queries versus creating arrays of objects?</p>
  
  <p>Thanks for help!</p>