Im developing an app that take a data base from a web’s source code(name, ID and product’s price) and made a ListView with all the products
There was 23 products so 23 codes in app for each one
But today the website changed and now there are 20 products.
When i click the button to get the items, i get this error:
Select list item: Attempt to get item number 21 of a list of length 20
well, theoretically all products could be out of stock...
you have to check the number of returned products in the Web.GotText event before displaying them