Thank you for your reply I did a workaround through states, which first converts all the numbers to a string, then replaces it with numbers and comma 1,2,3,4… and at last converts it to a list of numbers trough regex.
Could you elaborate how you have done this exactly? I am looking for the same solution in order to simplify navigation through a one page app, but I am struggling to get it to work.
What I want to do, is save a list of scroll positions as the user navigates through my app, but that might lead to duplicate scroll positions which I need to save as duplicates…
Hi, sorry for my late reply! I added my numbers to an array, and then converted it to a string. The last thing i did was to extraxt it with regex, so that my result (list of numbers) could contain duplicate numbers.