Forum Discussion

cesarcarlos's avatar
cesarcarlos
Binge Watcher
3 years ago

How to make poster grip stop when it reaches the top or bottom of the list?

I'm working on my first Roku app and I've managed to create a PosterGrid with data loaded from a JSON file. However I've noticed that once I read the end or the beginning of the list, it cycles back.

homescreen.xml

 

<children>
        <PosterGrid 
                id="topics"
                translation="[105,240]"
                basePosterSize="[310,186]"
                itemSpacing = "[40,30]"
                posterDisplayMode = "scaleToFill"
                numColumns = "5"
                numRows = "10"
            />
</children>

 

 

Is there a way to change this behavior? Id like to place a couple of buttons at the top of the screen so I need to be able to exit the list without it cycling back to the bottom.