mercredi 23 décembre 2015

Browsing data from data one by one

I am trying to make a "book" type of way to browse data. What i am trying to do is that i will take the data from the first row and print it out on to text fields(eg. name, age, gender). After which there will be a "next" button where it will take me to the next row of data where it will clear the existing data in the text field and replace it with the data from the second row. Until i reached the last row of data the button will change to "exit".

What i have tried is to retrieve the data and print it out and use .next() to go to the next row of data however it is not working.

I am using sq-lite and java for this.

Aucun commentaire:

Enregistrer un commentaire