mardi 29 mars 2016

Android Studio print DB contents

I have a database with student ID's and scores that i'm trying to print out in a fragment in an android app but I can't seem to figure out how to go about doing that.

My initial thought was to use a bunch of textviews that are connected to cells in the database, but if the size of the database changes then not all of it would print out. Is there a dynamic way of going about creating textviews based on the size of the database?

Aucun commentaire:

Enregistrer un commentaire