About this lesson

This lesson explains how to create a basic app that gets the videos from a content feed and displays them in a grid, which contains rows of posters (thumbnail images). It demonstrates how when you scroll to a poster, it is highlighted and its name, duration, and description are displayed above the row.

This lesson describes how to create the directory structure and manifest required by Roku apps. It shows how to create SceneGraph components, set their attributes, and create their interfaces. It details how to parse the metadata in the content feed, add the metadata to content nodes, and then add the content nodes to SceneGraph components.

Resources

ItemDescription
Grid Screen sample appDownload and review the code used in this lesson to create a grid screen.
Sideloading Roku appsSideload and test the Grid Screen app created in this lesson.
App directoryLearn to how to create the directory structure required by Roku apps.
ManifestRead how to create the manifest required by Roku apps (every app must have a manifest so the Roku OS knows which features your app supports). Learn about all the mandatory attributes that must be included in the manifest, and the different optional features can be enabled in it.

Related

Scene node

Overhang node

Label node

RowList node

Poster node

Event loops

Content node

Content meta data

OnKeyEvent()

ifSGNodeChildren interface

Handing application events

Runtime functions

BrightScript expressions, variables, and types

How to watch

Play the embedded video above or go to SceneGraph: Creating a Grid Screen on the Roku Developers YouTube channel or access the Roku Developers channel on the Roku platform.