@
Nuka1195
I think on
As for getListSize(), the reason i didn't go with getSize is little bit ambious what it means, after all its a WindowXML, 'getSize implies it gets the size of the window' hence why i chose getListSize(), most the other stuff is getCurrentListPosition and getListItem. Ideally i would have pefered something like self.list.addItem() etc (where list is like a 'controlwindowlist' thats automatically part of the WindowXML like the
otehr methods. The idea would be controlwindowlist ineheirt ControlList and overwrite the methods to provide the infomation from the 'window lists', but i wasn't sure about that.
I tried labeling most the 'WindowList' specific stuff with the 'List' in the name, plus then u don't get confused and think self is suddenly an actual list control.
My getListItem changes are in rev 9223, and few others things are different there as well.
Basje) i don't get an exception like that on XBMC_PC, yet to try my new script on XBOX with WindowXML
. (i had an older one taht used WindowXML and creates listitems/ on screen fine.
Both my scripts uses a loop to create items from an array
I might be able to release the new script as a new demo. (part of a bigger script i want to redo