title: View data from SQLite database using ListView on Android
body: <p>I am quite new to Android development. I managed to get data saved to SQLite database. Now, what I want is to view these data when I call viewData(). I have viewData() which shows data as a Toast as I made it as a sample. Now I need these data to show on a new activity using a ListView, but the number of data to show is depending on how many data is in the database at the moment, If user saved 10 items then I want all the 10 items to shown up. How can I do it?</p>
  
  <p>I hope my question is clear.</p>
  
  <p>Thanks in advance.</p>