Roku Sliding Banner using RowList

In this blog, we are going to learn how to create an Auto slider banner with RowList and XML components. Slide banner after every 3 seconds

Step 1: Start your eclipse and create a new BrightScript project with the main scene.

Step 2– Initialise RowList and Timer for changing image banner in MaineScene. Banner Timer will be fired after 3 seconds and change the image of row list. Method ShowBannerContent() will be displayed a banner with static data.

Here item component is a node which is used to display banner row in RowList

   MainScene.brs

Screenshot 2018-08-01 21.44.07

Screenshot 2018-08-01 21.47.54

  Change one banner image to another banner image after 3 seconds

Screenshot 2018-08-01 21.49.18

MainScene.xml

Screenshot 2018-08-01 21.50.51

Item Component Name –  BannerRowListItemContent.xml

Screenshot 2018-08-01 21.52.53.png

Result – >

dev (2).jpg

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close