Forum Discussion
mkdir1995
8 years agoVisitor
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!!
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!!