dimanche 31 mai 2015

SQLite update command fails when triggered from Toolbar

I have noticed strange behaviour while executing SQLite update command from Toolbar menu item.

Update returns 0 which stands for 0 rows affected. The same method called from floating action button in the same activity works like charm (1 row is updated then).

I am using the following SQLite database helper (synchronized singleton):

DataBaseHelper

Has anyone of you had the same issue with SQLite?

Aucun commentaire:

Enregistrer un commentaire