Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
5ytech
Level 7

How to add content to roListScreen

In my Listscreen i am displaying the list using dynamic values by screen.SetContent(roAssociatearray).

but i want to add few static values to this list at the bottom of the list. i tried screen.AddContent() but it didn't work... what is the way to do this.

Thanks
0 Kudos
1 Reply
RokuJoel
Roku Employee
Roku Employee

Re: How to add content to roListScreen

You should be able to use the unshift method to add an item to the bottom of the array, then screen.setcontent(array)

-Joel
0 Kudos