Developers

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 ?
Tags (1)
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
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!

For support, visit support.roku.com.