Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
destruk
Level 10

Re: ZoomRowList rowDecorationComponentName property not being able to be set??

Alright...thumbnails show up now.  Thanks.
0 Kudos
ustare333
Level 7

Re: ZoomRowList rowDecorationComponentName property not being able to be set??

Having already been posted has no relating the mistake It may want to have nevertheless been present formerly and turned into published anyway. Did you check the "monetization" residences for this channel?

0 Kudos
GizDevWip
Level 8

Re: ZoomRowList rowDecorationComponentName property not being able to be set??

Hi Team, Anyone got working ZoomRowList with rowDecorationComponentName

0 Kudos
GizDevWip
Level 8

Re: ZoomRowList rowDecorationComponentName property not being able to be set??

#Roku Developer Program

 

Running zoomRowListDefaultLayoutTest sample project given in Roku documentation, just add extra rowDecorationComponentName parameter.

base xml file

<component name="ZoomRowListTestScene" extends="Scene">

<script type="text/brightscript"
uri="pkg:/components/ZoomRowListTestScene.brs" />

<children>
<ZoomRowList id="theZoomRowList"
itemComponentName="SimpleGridItem"
rowDecorationComponentName="DecorSimpleGridItem" rowZoomHeight="450"
rowHeight="250" rowItemZoomHeight="300" rowItemHeight="250"
spacingAfterRow="50" rowItemZoomYOffset="200" rowItemYOffset="20"/>

<Label id="scrollingStatusLabel" text="scrollingStatus: false"
translation="[100,20]" />
<Label id="rowItemFocusedLabel" text="rowItemFocused: 0, 0"
translation="[500,20]" />
<Label id="rowFocusedLabel" text="rowFocused: 0"
translation="[900, 20]" />
</children>

</component>



DecorSimpleGridItem component xml

<?xml version="1.0" encoding="utf-8" ?>
<component name="DecorSimpleGridItem" extends="Group">

<interface>
<field id="rowContent" type="node" onChange="rowContentChanged"/>
</interface>

<script type="text/brightscript" uri="pkg:/components/DecorSimpleGridItem.brs" />

<children>
<Label id="itemtitle" width="500" height="100" translation="[0,0]"/>
</children>

</component>


itemComponentName working fine but rowDecorationComponentName makes pblm.(normally type mismatch error occur when we put wrong type like string instead of float width="abc")
if anyone got the solution pls post a sample code.

0 Kudos