jf-roku/components/movies/MovieItemMinimal.brs
2020-03-18 09:10:31 +00:00

13 lines
334 B
Plaintext

sub Init()
m.title = m.top.findNode("title")
m.title.text = "Loading..."
end sub
function itemContentChanged() as void
' re-declare this because init doesnt re-run
' when we come back from elsewhere
m.title = m.top.findNode("title")
itemData = m.top.itemContent
m.title.text = itemData.title
end function