RowList itemFocused and rowItemFocused[0]

I thought itemFocused was supposed to be the equivalent of m.grid.node.rowItemFocused[0]. There’s a case in my code where these two numbers are different on the same object.

Aren’t they supposed to be the same… or ?

  • rowItemFocused[0] contains the index of the row in focus. rowItemFocused[1] contains the index to the focused item in that previous row.

  • itemFocused contains the index of the item focused. Theoretically rowItemFocused[1] would be the same as itemFocused, but it depends on the usage.

See: https://sdkdocs.roku.com/display/sdkdoc/RowList