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: 
chaklasiyanikun
Roku Guru

How to manage RowList inside the another RowList?

Currently, I'm refering the VideoPlayer Channel Example. Which is Provide by Roku. In Example Second RowList content using First Rowlist URL. Does Anyone Suggestion How to call URL for open Second Rowlist in Roku?

sub OnRowItemSelected(event as Object)
m.grid = event.GetRoSGNode()
m.itemSelected = event.GetData()
m.rowContent = m.grid.content.GetChild(m.itemSelected[0])
m.ItemContent = m.rowContent.GerChild(m.itemSelected[1])
?"OnRowItemSelected - m.ItemContent : " m.ItemContent end sub

'Below is the Response for the First Rowlist
OnRowItemSelected - m.ItemContent : <Component: roSGNode:ContentNode> =
{
change: <Component: roAssociativeArray>
focusable: false
focusedChild: <Component: roInvalid>
CATEGORIES: <Component: roArray>
URL: "pkg:/feed/anotherrowlist.json"
}

Does anyone know how to call another rowlist using this Response?

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.