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: 
Cessilva
Channel Surfer

Handle custom view focus on a SGDEX project

 

I added an RSG component inside an SGDex view and tried to manage RSG Component in SGDex View. I have a view where a button call a custom view, then the custom view can make many functions like show other options of video or change the subtitles, when this custom view takes the focus and i try to set it to an other component like : m.otherComponent.setFocus(true) on a onKeyEvent function this reset the content of my custom view, i dont know how to handle my component because it seems i cant set a focus ,maybe i have been doing bad but in the documentation appear like this:Captura.PNGCaptura2.PNG

 

 
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.