I sometimes see people using the Activity.onAttachedToWindow method but personally, I did never use it. When reading it's documentation it appears to me as it would be almost the same as onStart().
One thing I assume is:
onAttachedToWindow is invoked before onCreate()
onStop is invoked after.
Am I right with this assumption? What are the behalfs of both and when do you use which?