Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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.

0 Kudos
1 Reply
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)

0 Kudos