Hi everyone. I am still trying to build a database app with a RecyclerView. I have followed a tutorial from here:
The app runs, creates the database, and saves records. Note that the name is the primary key so you cannot save duplicate names. My problem with this is the same as the first app I tried to build. That is, when I try to view the data, it only shows the first record. The format of the display is OK but only the first record is shown. I can't seem to figure out what triggers a new row in the RecyclerView. I have attached a text file containing all the code for the various parts of this demo. I could surely use some help in figuring out what's missing.
Thanks
The app runs, creates the database, and saves records. Note that the name is the primary key so you cannot save duplicate names. My problem with this is the same as the first app I tried to build. That is, when I try to view the data, it only shows the first record. The format of the display is OK but only the first record is shown. I can't seem to figure out what triggers a new row in the RecyclerView. I have attached a text file containing all the code for the various parts of this demo. I could surely use some help in figuring out what's missing.
Thanks