Search code examples
androidviewflipper

Generate custom viewflipper


Is it possible to generate a viewflipper, which shows a view for 1 second and the other view for 3 seconds and the other for 9, ...?


Solution

  • One way to accomplish this to use a Timer that calls ViewFlipper's showNext() method after the given time has passed. Also, you can set up automatic flipping and set the interval manually through setFlipInterval.