开发者

Generate custom viewflipper

开发者 https://www.devze.com 2023-02-23 05:32 出处:网络
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, ...?One way to accomplish this to use a Timer that call

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, ...?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消