What happens to thread as onDestroy is called when device is rotated

Posted by Lakshmie on Stack Overflow See other posts from Stack Overflow or by Lakshmie
Published on 2010-06-15T18:49:51Z Indexed on 2010/06/15 18:52 UTC
Read the original article Hit count: 194

I would like to know as to what will happen to the thread which has been created by an activity and the device is rotated. I have observed that the onDestroy method is called when this happens. Will the thread be killed too?

If the thread is not killed, how can I reassociate the thread with the activity as a new instance of the activity is created on rotation.

Thanks,

Lakshmie

© Stack Overflow or respective owner

Related posts about android

Related posts about threads