mrkjffrsn / RokuFramework

An opensource Roku framework
Apache License 2.0
47 stars 10 forks source link

Usage explanation #26

Open robinsonryan opened 1 year ago

robinsonryan commented 1 year ago

It looks like you may not be maintaining this project anymore, but I have found it helpful in understanding how Roku channel development works. I'm hoping you can answer a questions for me. There are two aspects to the framework that I don't understand.

  1. In the BaseModel.brs there is a function called parseData() that is called when an HTTPresponse is returned. How is the parseData() function inteded to be used? I assume it is supposed to manipulate the data in to some sort fo roObject for use in the view, but I don't understand what to do with it.
  2. Assuming I parse the data correctly, How do I use model data in a controller? I have extended the basemodel with a categoriesModel that extracts category titles from a feed. How would I get that data to a LableList in my HomeController?

Thanks in advance for your help.