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 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?
What is the best way to show data on an activity. Since I don't know to use ListView, I used TableLayout on the other activity where user feed data.
I hope my question is clear.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire