Android Rotation Issue
<p>I have an application that is not calling onConfigurationChanged, but only in one specific case. I have 2 activities, A and B. Activity A has a gridview, and I change the number of columns based on orientation. This works fine using onConfigurationChanged.</p>

<p>However, if I follow these steps, I don't get an onConfigurationChanged():</p>

<ol>
<li>Activity A, Orientation1 -> Activity B (Still Orientation1)</li>
<li>Rotate the device while in Activity B (now Orientation2)</li>
<li>Back to Activity A, now in Orientation2. onResume is fired, and I adjust the layout.</li>
<li>While in Activity A, rotate back to Orientation1. Nothing is fired (onCreate, onResume, onConfigurationChanged... etc.) Layout is now wrong (with number of columns set to Orientation2).</li>
</ol>

<p>After this, if I keep rotating while in Activity A, the rest of the rotations fire onConfigurationChanged and the layout adjusts accordingly. It's only that first rotation after coming back from another activity. It doesn't matter which orientation I start in, the result is the same.</p>

<p>Is there something besides onConfigurationChanged I should be looking at?</p>
