Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

How to create a sequence of pictures  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi eveyone!
I'm doing an application in which I have to show a sequence of pictures: The sequence is the follow:

1. A red X has to be shown for more or less 400 milliseconds;
2. An image called "Screenshot" has to be shown for more or less 500 milliseconds;
3. An image called "Noise" has to be shown for more or less 50 milliseconds;
4. The "Noise" image disappear to make space for an EditText.



Now, I have to repeat this sequence for a specific number of times. How can I do that? Do I have to use a loop?
Thanks!
 
Damiano Fossa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've updated the code:


But, if I have 5 pictures, it shows the first, the third and the fifth image. Why? Am I doing something wrong the index?
 
A berm makes a great wind break. And Iwe all like to break wind once in a while. Like this tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!