1 parent
deeed05383
commit
e8fd7ee35d
13 files changed
+61
-27
No files matched your search
@@ -1,11 +1,3 @@
|
||||
function Init()
|
||||
m.authorLabel = m.top.FindNode("authorLabel")
|
||||
m.subCountLabel = m.top.FindNode("subCountLabel")
|
||||
m.videoCountLabel = m.top.FindNode("videoCountLabel")
|
||||
m.thumbnail = m.top.FindNode("thumbnail")
|
||||
m.thumbnail.failedBitmapUri = "pkg:/images/thumbnail-missing.jpg"
|
||||
end function
|
||||
|
||||
function OnContentSet() as void
|
||||
content = m.top.itemContent
|
||||
|
||||
@@ -14,8 +6,8 @@ function OnContentSet() as void
|
||||
end if
|
||||
|
||||
' NOTE: "_author" not "author". See PlaylistContentNode.xml for explanation.
|
||||
m.authorLabel.text = content._author
|
||||
m.subCountLabel.text = content.subCountText
|
||||
m.videoCountLabel.text = content.videoCountText
|
||||
m.thumbnail.uri = content.thumbnail
|
||||
m.top._author = content._author
|
||||
m.top.subCountText = content.subCountText
|
||||
m.top.videoCountText = content.videoCountText
|
||||
m.top.thumbnail = content.thumbnail
|
||||
end function
|
||||
Reference in new issue
Block a user