onAttach activity is null
<p>In creation of a fragment, I encountered getActivity() to be null.
So to narrow down the problem, I kept a local copy of activity in onAttach(Activity activity), which by definition is when it is attached to an activity.</p>

<p>However, I logged the activity in onAttach, and it is still null.</p>

<p>I'm only running into this problem in 2.3.6 and below.</p>

<p>Is this a known problem with support package?</p>
