dimanche 27 septembre 2015

sqlite data inserted into database will not change android development

I'm creating a very simple application that is displaying some user data.

Recently i wanted to change my application to list the logged in users data more dynamically for demonstration of the concept of the application.

I moved my insertion statements into my database helper class out of the main activity and just pass over a unique id number to get back the user in question.

However now I'm only being returned one row no matter what id I pass. I have removed every trace of the user that keeps displaying but it still comes up.

In my oncreate method in database class i have also inserted a statement to drop the table first before i create it.

Does this sound familiar to anyone or have I ghost?

Aucun commentaire:

Enregistrer un commentaire