Closed RomanSkrypnyk-main closed 1 year ago
This is expected. You're printing m.grid.content
before your ContentHandler runs. The ContentHandler runs when you show the view. You need to wait until the ContentHandler is done if you need to do something with its result. Several of the sample channels show how to do this by adding an isContentLoaded field to the ContentNode and then setting it from the ContentHandler when it is done.
https://github.com/rokudev/SceneGraphDeveloperExtensions/tree/master/samples/Roku_Recommends
Thanks for pushing me to the right place. https://github.com/rokudev/SceneGraphDeveloperExtensions/tree/master/samples/Roku_Recommends
I try to get content from Grid Screen for Deep Linking.
? m.grid.content
returned:My MainSceene.brs
I am expect:
(the next code is from details screen after pressed button and item for details is loaded)
So the main problem is to get the content whose Content Node is to be set to the DeepLink method and make a FindNodeById request. playableItem = FindNodeById(content, contentId) ' find deep link content by contentId
I will be grateful for the answer.