Hi all,
I have a custom view which is my game scene.When user lock screen with power button or something else it restarts my view. I tried android:configChanges but it seems to work on emulator but not on real device. What is the correct way of saving my view's state. It's not something like save an int in a bundle and restore it for now 1500 line of code what i'm talking about.
I have a custom view which is my game scene.When user lock screen with power button or something else it restarts my view. I tried android:configChanges but it seems to work on emulator but not on real device. What is the correct way of saving my view's state. It's not something like save an int in a bundle and restore it for now 1500 line of code what i'm talking about.