# A journey on the Android Main Thread -- Lifecycle bits

DevFeed: [A journey on the Android Main Thread -- Lifecycle bits](<https://devfeed.tech/articles/a-journey-on-the-android-main-thread-lifecycle-bits-15468.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/a-journey-on-the-android-main-thread-lifecycle-bits>)

Author: P-Y Ricau

Published: 2013-12-26T17:05:00Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [components](<https://devfeed.tech/tags/components.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [crash](<https://devfeed.tech/tags/crash.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [message-queue](<https://devfeed.tech/tags/message-queue.md>), [queue](<https://devfeed.tech/tags/queue.md>), [thread](<https://devfeed.tech/tags/thread.md>)

## AI overview

This article examines how Android's main thread interacts with activity lifecycle events, especially configuration changes. It explains that an orientation change can recreate an activity by posting messages such as CONFIGURATION_CHANGED and RELAUNCH_ACTIVITY to the main thread looper queue.

## Source excerpt

Written by Pierre-Yves Ricau.