Forum Discussion
toesinthesand
7 years agoBinge Watcher
"mkdir1995" wrote:
So I've stuck with the idea of leaving all of my JSON retrieval in the main thread. It's much easier than having to separate them all into tasks. I've actually successfully entered a separate screen conditionally! Wooooo. Except... the RowList doesn't show. When I log DetailsScreen.content I get a roSGNode, but when I log the content of a categoryScreen, I get roInvalid. Any idea why this is happening? I can assume I'm somehow not setting the content correctly, but I'm not really sure where I went wrong.
When creating a NEW RowList for the content of CategoryScreen, as well as appending all my rowItems, I'm doing it in a separate function in the main thread (under the main function that sets the home grid content). SO I'm wondering if this is the correct way or not; maybe it needs to be put into a separate .brs file connected to the CategoryScreen XML? This is what I'll try next.
As always, any help is verrry appreciated!!
What did you end up doing? I'm trying to accomplish something similar. Using the Hero-Grid-Screen example. I'm trying to set up on selecting an item on RowList when it has Focus, upon button press ok, instead of loading DetailsScreen I want to be able to show another GridScreen. Basically selecting a series poster from the RowList and then the GridScreen showing all the episodes. I think I'm going to need a separate .brs and .xml along with parsing another xml.rss feed to populate the new screen. Hope you got yours to work!