2 things.
First, don't use
ListView
, consider
RecyclerView
. Android documentation can tell you how to do that,
Create a List with RecyclerView | Android Developers[
^].
RecyclerView
enforces the best practices.
Then secondly, consider using Room ORM for SQLite in Android.
Room Persistence Library | Android Developers[
^] will help you in better maximizing the database usage in the apps. Secondly, since it is an ORM, you only have to take care of your business logic, and now how to manage the database. I think you will be able to understand, which logic is preventing you from adding more data.