Anatomy of an Android Run Loop
<p>I can't seem to find any documentation on the details of an Activity's run loop for Android.</p>

<p>Apple documents the "<a href="http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#//apple_ref/doc/uid/10000057i-CH16-SW20" rel="nofollow">anatomy of a run loop</a>", and that's pretty much what I'm looking for.  The Android documentation just says "<a href="http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle" rel="nofollow">Activity Is Running</a>" in its life cycle state diagram.  Obviously that's backed up by some sort of run loop.</p>

<p>Anyone have some insight (aka Documentation) into the internals of an Activity's run loop?</p>

<p>edit - I should clarify that I presume the run loop is actually owned and run by the main UI thread.  The current Activity's functionality is likely injected into this runloop at a certain point.  I'm interested in the overall UI thread run loop, as well as what role the Activity takes in it.</p>
