How to get the instance from scrollList?
Now, the way I only know is to get the instance in virtual function "scrollList1UpdateItem" like this:
virtual void scrollList1UpdateItem(selection2& item, int16_t itemIndex)
{
item.setIcon(itemIndex);
}Is there another way to get it from scrollList?
By the way, I see the ScrollList have a function named "getItem", the code of it like this:
int16_t getItem(int16_t drawableIndex)
{
return list.getItemIndex(drawableIndex);
}Under what conditions will it be used?
