2014-06-22, 21:20
I've been working on this for about 3 days now and even though I've got close to solving the problem (with help from Unfledged) I haven't quite been able to fix it yet.
I've got an include for the menus that is loaded on every window so it's global and it also needs to serve as the breadcrumbs so you know where you are in XBMC. There's a button in each list that sets the item that is currently focused to a string, this string is then used onload of each window to set the menus to the same focus items as the previous window. All well and good until you scroll further down the list making the items offset and then scroll back up to click an item - the next window opens and the correct item is focused but the list isn't offset anymore.
Home screen - select movies
Movies - correct menu item is highlighted
Scroll down to Weather and offset the list
Scroll back up to Movies (note list is now offset)
Movies is loaded and movies is highlighted but list is reset
Can anyone think of a way to load the list in the same position each time?
Thanks.
I've got an include for the menus that is loaded on every window so it's global and it also needs to serve as the breadcrumbs so you know where you are in XBMC. There's a button in each list that sets the item that is currently focused to a string, this string is then used onload of each window to set the menus to the same focus items as the previous window. All well and good until you scroll further down the list making the items offset and then scroll back up to click an item - the next window opens and the correct item is focused but the list isn't offset anymore.
Home screen - select movies
Movies - correct menu item is highlighted
Scroll down to Weather and offset the list
Scroll back up to Movies (note list is now offset)
Movies is loaded and movies is highlighted but list is reset
Can anyone think of a way to load the list in the same position each time?
Thanks.