Hi to all.
The problems is the following:
I want to preserve the state of a Button (Enabled/Disabled) which is inside an Activity, during orientation changes (for example) that imply activity destruction. In theory it seems that I could save the state of the views during an ActivityPause and ripristinate it during ActivityResume. But I saw with the debugger that ActivityPause is not called if I change the orientation... What am I missing? Any other advice for this problem?
Thanks in advance..
The problems is the following:
I want to preserve the state of a Button (Enabled/Disabled) which is inside an Activity, during orientation changes (for example) that imply activity destruction. In theory it seems that I could save the state of the views during an ActivityPause and ripristinate it during ActivityResume. But I saw with the debugger that ActivityPause is not called if I change the orientation... What am I missing? Any other advice for this problem?
Thanks in advance..