And in another virtual screen I press a button named change to show a random item from that list, but when I press it again I want the previous displayed item from being a possibility in the new random selection from being shown.
Example 2:
Alpha
Beta
Delta
And when all options are gone, for the the cycle to start again from the beginning. And this while using tinyDB.
I tried making 2 lists:
listOfHobbies is the list I use to save all the items I made to be saved and reused.
randomList is the list I use to show the random item.
What I tried to do (and failed) is when displaying an item I copy a new list which list no.2 and then delete that item from list no.2, so when I press the change button the previous item isn't there to selected again.
I needed the invisible listview to be updated not the main one. But thanks for the help.
But considering my project I might need to use clock to make the list time based so that it also changes after on a new day after determined amount of time. I need to learn how to use it 1st and might need to make another post on that