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

Reading remote key buttons when RowList has focus + animateToRowItem?

I want the natural animation and control of the RowList but I also want to be able to catch when the user presses left vs right. I understand I could probably use observers to see the focused / unfocused item and compare them.. but I'd like to catch the buttons while also allowing the RowList to preform its own actions.

Also, there's a writeable property called "jumpToRowItem" but I don't see one for "animateToRowItem" ?
How do I animate to the next/previous row? "animateToItem" says it accepts an integer so I assume that's just the column... or is that column + row where a grid looking like this would be:

1 - 2 - 3 - 4
5 - 6 - 7 - 8 

?

Reference: https://sdkdocs.roku.com/display/sdkdoc/RowList
0 Kudos
2 Replies
johnmarsden
Level 7

Re: Reading remote key buttons when RowList has focus + animateToRowItem?

Bump.
0 Kudos
Tyler_Smith
Level 7

Re: Reading remote key buttons when RowList has focus + animateToRowItem?

As far as I know, once the RowList component has focus you cannot catch the onKeyEvents data until the component loses focus.
Tyler Smith
0 Kudos