So this is a random question test, and I want a button, that if you want to go back to the question you just answered you can do it. Please help me
Store the asked questions in a new list and if you want to go back, read the last item from that list
Taifun
Please see also the manager screen example about how to switch screens correctly
Taifun
very simple.. every time when question displayed, store the question number either in tinydb or a variable... So when user hit previous button then look into this tinydb or variable.. Variable mean, user cannot continue when he left from the app. if you stored in tinydb then user can continue where he left. and can go forward or backward
I like to use a list as an Undo stack.
1 Like