Save users to a SQLite database and show them in a scrolling RecyclerView list. This is the pattern behind almost every list screen you will ever build.
In Android Studio choose New Project → Empty Views Activity, with Language Java and Minimum SDK API 24. RecyclerView comes with the Material library, so there's nothing extra to add.
2. Build the form
In activity_main.xml, add three boxes (name, e-mail, age) and three buttons: Insert, Delete and View.
3. Create the database helper
DBHelper extends SQLiteOpenHelper and creates a Userdetails table. name is the primary key, so each name can be saved once.
4. Add a User class
A small class holding one user's name, e-mail and age. Passing User objects around is much simpler than keeping three separate lists in step.
5. Read users as a list
getdata() runs a query, turns each row into a User, and closes the cursor. The screens never touch the cursor.
6. Design one row
userentry.xml is one card: name, e-mail, age and a delete icon. RecyclerView reuses this layout for every row.
7. Write the adapter
MyAdapter does two jobs:
onCreateViewHolder inflates a card.
onBindViewHolder fills it with one user's details.
The ViewHolder finds the views once, so scrolling stays smooth.
8. Show the list
In Userlist, load the users, give them to the adapter, and set a LinearLayoutManager so the cards stack vertically. If there are none, show a friendly message instead.
9. Delete from the list
Tapping a card's delete icon removes the user from the database, then calls notifyItemRemoved so the card slides away.
10. Run it
Add three users, tap View to see the cards, then delete one.
If something goes wrong
The list is empty: check that your inserts succeeded; the toast says so.
The app crashes on View: add the Userlist activity to AndroidManifest.xml.
Every row shows the same data: fill the views in onBindViewHolder using position, not in the ViewHolder.
What's improved over the video
A User model instead of three parallel lists, cards with a delete button on each row, an empty-list message, and cursors that are always closed.
Files affected
Check what to add and what to replace before copying code.