Arthur Andy
Newbie
Hi,
I am working on the one application where I used single activity but I have taken multiple classes that extends Framelayout. I am moving from one state to another within application with the help of ViewFlipper.
But problem is that when I press BACK KEY(Device) then the view is going previous state but into cycle, means how many times I moves from main menu to another sub state it is moving that multi times. I want when the main Menu state come using back key it should not repeat again.
Please tell me how to restrict it, but I don't want to block this device back key functionality.
Please help me.
Thanks in Advance,
Arthur

I am working on the one application where I used single activity but I have taken multiple classes that extends Framelayout. I am moving from one state to another within application with the help of ViewFlipper.
But problem is that when I press BACK KEY(Device) then the view is going previous state but into cycle, means how many times I moves from main menu to another sub state it is moving that multi times. I want when the main Menu state come using back key it should not repeat again.
Please tell me how to restrict it, but I don't want to block this device back key functionality.
Please help me.
Thanks in Advance,
Arthur

