I'm creating a basic app to keep track of what rides my family have been on when we visit a theme park.
I have a check list of 9 rides. When I leave the screen or app I want those that have been checked to still be checked. I've tried various methods using TinyDB but it isn't working. I think I need to duplicate the check box tags but I'm getting a bit lost and would appreciate some help. I'm sure it is really simple....sorry
That is just the store value again. You need to set the checkbox to the saved checked value when the screen initialises.
You can use lists and the any component blocks to iterate over each value, so no, you don't have to repeat 9 times. We are working on understanding the process for just one right now!
And I'm sure you will need to know how to retrieve the values of those checkboxes the next time you open the app, so this is how:
Since you are learning I think it will be useful for you to go block by block and ask here what you don't understand. I don't want to just give you a bunch of blocks that you don't know what they do. So please follow the logic in the blocks provided and don't be afraid to ask.
Thank you so much and for pre-empting my next question. I think I understand it as I'm doing it, I can make sense of what you have shown me which is amazing. I just couldn't do it myself but thank you!!!
When I press the back button it goes where I want it to go with no issues or error messages but when I click back in to the screen the check boxes aren't ticked.
I appreciate I may have not shown much patience. Perhaps I should do multiple blocks rather than all check boxes but I need to understand why what I have put in doesn't work.