MotoMusher Active Member Licensed User Longtime User Jul 26, 2013 #1 Curious as to best practices for saving variables after a screen rotation. I have an activity with 2 distinct parts. I could rewrite it I suppose to be 2 activities, but looking to learn. I have a variable activitystatewhich is either a 1 or 2. Value gets rewritten to default when the screen rotates. Any way other than tracking with a text file to maintain the value in activitystate?
Curious as to best practices for saving variables after a screen rotation. I have an activity with 2 distinct parts. I could rewrite it I suppose to be 2 activities, but looking to learn. I have a variable activitystatewhich is either a 1 or 2. Value gets rewritten to default when the screen rotates. Any way other than tracking with a text file to maintain the value in activitystate?
MotoMusher Active Member Licensed User Longtime User Jul 26, 2013 #3 i had not . thank you. that should work well Upvote 0