I could use a bit of clarification about the requirements to use Roku Scene Graph. All of the components that are going to be deprecated are here: https://blog.roku.com/developer/2017/02/01/legacy-sdk/ ... but then in the documentation it shows more functions/components that cannot be used here: https://sdkdocs.roku.com/display/sdkdoc ... pt+Support
So my question is, what is the most efficient way to go about this "conversion" of my app that uses the older SDK? For example, I understand that to replace roGridScreen I can use a rowList node class, but how do I implement the XML/BRS files to work together using an API's JSON data? Since I can't use methods like SetContentList(), setupLists(), setListNames(), I'm unable to see through the examples how to set content with JSON instead of XML data.
I've tried replacing the createObject("roGridScreen") with something like this:
m.screen = CreateObject("roSGScreen")
m.port = CreateObject("roMessagePort")
scene = m.screen.CreateScene("HomeGrid")
and then I made a test .xml file called "HomeGrid.xml" where I set it up like so, just to see if it'll link together:
<?xml version="1.0" encoding="utf-8" ?>
<component name="HomeGrid" extends="Scene" >
' stuff goes here
but I got an error saying "BRIGHTSCRIPT: ERROR: roSGScreen.CreateScene: No such node HomeGrid."
Beyond that, I'm just not sure how I change my files/structure so that all of the 40 or so files I have can work with the Roku Scene graph. What goes inside the .xml file?
The documentation and examples are somewhat helpful, but I can't figure out how to tie it in with what I already have without essentially re-doing my whole application from scratch. I have tons of functions that make requests, responses, general functions. Any help would be appreciated.