I've tried 100 things to solve this, but none of them seem to work for saving text in a TextView when my orientation changes.
On orientation change, none of these functions are ever called:
onRetainNonConfigurationInstance(),
onRestoreInstanceState(),
onSaveInstanceState()
Note that I have android:configChanges="orientation"
in my manifest for this activity so onConfigurationChanged()
is called instead of onCreate()
since I want onCreate()
to only run once.
Anyone have any ideas at all to fix this?