Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
johnmarsden
Level 7

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 ?
0 Kudos
1 Reply
taylorcw
Level 7

Re: RowList itemFocused and rowItemFocused[0]


  • 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
0 Kudos