The difference between ListView and SQLite when you simply want to show Text in a list format

Asked 2 years ago, Updated 2 years ago, 119 views

When you simply try to show Text in a list format through EditText, what's the difference between just putting it in ListView and putting it in SQLite to list it?

I'm asking you a question because SQLite came to mind when I was trying to write ListView right away while trying to create an app that would list text like a notepad.

android listview sqlite

2022-09-20 22:21

1 Answers

SQLite is a database. It's used to store data.

That is, you can save it to SQLite and then show it to ListView It's more like an auto-save function.

If you're making a notepad function, Make a separate "Save" button It would be better to save it to SQLite only when the Save button is clicked.


2022-09-20 22:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.