0

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?

OneCricketeer
  • 151,199
  • 17
  • 111
  • 216
Ghazal
  • 101
  • 1
  • 13

1 Answers1

0

Use recyclerview for this. It provides scrolling also if the amount information exceeds size of the screen. Check out this video for learning how to implement it.

suku
  • 9,786
  • 14
  • 67
  • 112