Shuffle The Id Of Table To Get Details In Android
I have student table , which has four fiels id, name, address and age. In this table 50 student. My question is , How to shuffle the id and get that id's details( id, name, addres
Solution 1:
I think you want to select a random student from the table every time you tap a button, right?
Then I would query all students, save them to an array and then select one randomly from that array everytime the user taps the button.
Post a Comment for "Shuffle The Id Of Table To Get Details In Android"