Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 9

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 1\
Level 9

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.

0 Kudos