i already read the question Activity restart on rotation Android . But it does not really help me.
I’ve two activities. The Second gets updated from an Async_Task, which holds a few Threads which i cannot just restart.
The Problem i got is, that rotating my Device forces an Activity-restart, which means i loose my Reference to the Async_Task.
Is there any possibility to pass Objektreferences from one activity to another?
Thanks for help!
Make your reference static, or see: http://developer.android.com/guide/topics/resources/runtime-changes.html#RetainingAnObject