• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need help with RecyclerView

dwf2008

Newbie
May 18, 2023
11
0
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
 

Attachments

  • RecyclerDemo.txt
    13 KB · Views: 37

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones