Android : Weird issue updating database

on Monday, March 23, 2015


Im making an Android app. Inside a view, I have a list which is filled with the results of a database (no problems here). The table row view consists in a title, a date and a favicon which changes when the user pushes it. Just as easy as this:


image1


When a star is pushed this is how its shown:


image2


Well, the view changes and the database launch the update and says that 1 register has changed. The problem is that is not true: if i reload the view the change is not there and im not reloading the table.


I made a database wrapper. I tested it and it works except when it gets called from the click event. The list is handled by this adapter and this is my base activity (which has the click event called eventListClickHandler)


Where did i made the mistake?


Thanks and regards.


PS: i also tried making the query by transaction or raw.


0 comments:

Post a Comment