开发者

How to reset a view in a viewflipper with button click

开发者 https://www.devze.com 2023-03-09 10:29 出处:网络
I am dealing the view flipperwith three views.The only problem which I couldn\'t able to solve i开发者_开发百科s,

I am dealing the view flipper with three views. The only problem which I couldn't able to solve i开发者_开发百科s, In main.xml I have one button(xyz) and when I click that button(xyz) the first view of the view flipper will appear after moving to the third view I closed the view flipper.

But when I click the button (xyz) once again to reopen the view flipper the third view is appearing(from where I closed the view flipper) instead of first view. Remember the button (xyz) doesn't belongs to viewflipper

how to solve this, any Idea?


you can remove your view by using Viewflipper.removeView(id)./id=1,2,3 in ur case./

0

精彩评论

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