Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnmarsden
Visitor

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
taylorcw
Streaming Star

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.