I try to use the Android compatibility library (or now called the support library) v4 for pre-honeycomb android devices. I understand that, instead of using the Fragment class, I should use the FragmentActivity class. According to all the tutorials I can find, I can use the onCreateView method as in the Fragment class:
public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
However, the onCreateView method in the FragmentActivity seems to be different. The one I inherit from is:
public View onCreateView (String name, Context context, AttributeSet attrs)
This version is actually listed in the Android reference of the FragmentActivity class.
Seems all tutorials I can find do not state this difference, and all are calling the one in the Fragment class.
Am I mistaking something here that I should be somehow able to call the onCreateView of the Fragment class version?