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

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 2
johnmarsden
Visitor

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

Bump.
0 Kudos
Tyler_Smith
Streaming Star

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
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.