Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made animated scroll #6

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
out/
out/roku-deploy.zip
.history/
.vscode/
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008141935.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this file here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted.

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008142233.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="floatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008142249.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="1" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008142332.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFloatingFocus" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008142828.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap " showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
17 changes: 17 additions & 0 deletions .history/components/rowListScene_20211008142829.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

<component name="rowListScene" extends="Scene" initialFocus="mainRowList">
<script type="text/brightscript" uri="rowListScene.brs" />
<children>
<Group id="rowListParty">
<RowList id="rowList1" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 100 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList2" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 400 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList3" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 700 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList4" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1000 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList5" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1300 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<RowList id="rowList6" rowSpacings="[0.0]" focusXOffset="[-150.0]" translation="[ 0, 1600 ]" rowLabelOffset="[[220.0,-6.0]]" itemComponentName="RowListItem" numRows="2" itemSize="[ 1608, 250 ]" rowItemSize="[ [368, 250] ]" rowHeights="[250.0]" vertFocusAnimationStyle="floatingFocus" rowFocusAnimationStyle="fixedFocusWrap" showRowLabel="[true]" rowItemSpacing="[[0.0,0.0]]" drawFocusFeedback="false" rowLabelFont="font:LargeBoldSystemFont" />
<Animation id="scroll" duration="1" repeat="false" easeFunction="linear">
<Vector2DFieldInterpolator id="myInterp1" key="[0.0, 1.0]" fieldToInterp="rowListParty.translation" />
</Animation>
</Group>
</children>
</component>
13 changes: 10 additions & 3 deletions components/rowListContent.brs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@ sub init()
m.global.http.request = { payload: {
userId: 1,
title: "WOW, IT WORKED ^_^",
}, url: "https://jsonplaceholder.typicode.com/albums", requestType: "GET"}
}, url: "https://alghool.net/RokuDev/data.json", requestType: "GET" }
m.global.http.observeFieldScoped("response", "useResponse")
end sub

sub useResponse()
?m.global.http.response
end sub
itemNode = m.top.createChild("ContentNode")
itemNode.title = m.global.http.response.body[0].TITLE
for each itemData in m.global.http.response.body[0].data
itemDetails = itemNode.createChild("ContentNode")
itemDetails.title = itemData.title
itemDetails.HDPosterUrl = itemData.thumbnail
itemDetails.description = itemData.longDescription
end for
end sub
Loading