First of all, I'm sorry, but I don't speak English very well. So if my message isn't very clear, don't be surprised.
I'm having a problem with a canvas.
In short, using a sprite, I create lines in a canvas. I'd like it to save all the lines I add to the canvas in a TinyDB, and then, when I select something from a listview, all the lines saved there will reappear in the canvas.
The sprite image only serves to show where the lines will be created (to get the line coordinates).
What's blocking me is the procedure for saving multiple lines in a TinyDB and loading it when I select the plan name from a selection list.