Main Site Documentation

Suggestion/Bug report with lists


#1

Hi,

i was using glide list, i had only 2 options on the window, but i clicked below 1 of the options due to not caring what i selected. this resulted in an error which highlighted the return method from displayobjectcontainer. -> the exact error being ArgumentOutOfRange.

knowing the issue had to do with the List not the container class, i looked at the touch handler in the list and found that it doesn’t check to make sure you have tapped an option before it tries to get the list item at that position. hence it tried to get the ‘3’ index item from a 2 count list.