Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage explanation #26

Open
robinsonryan opened this issue Oct 18, 2022 · 0 comments
Open

Usage explanation #26

robinsonryan opened this issue Oct 18, 2022 · 0 comments

Comments

@robinsonryan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant