jeudi 17 décembre 2015

Changing a button from adding data to deleting data in sqlite if that data already exists within the database?

I have an sqlite database in android that takes data from the user via a button and deletes that data with another button.

But can you detect if that data already exists and then change the add button to delete it? Is there some Boolean deceleration I can use?

Aucun commentaire:

Enregistrer un commentaire