Android: support package Fragment
<p>I tried this example</p>

<p><a href="http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentPagerSupport.html" rel="nofollow">http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentPagerSupport.html</a></p>

<p>I build for API Level 15 and use support package as well.
This funktion causes trouble:</p>

<pre><code>@Override
        public Fragment getItem(int position) {
            return ArrayListFragment.newInstance(position);
        }
</code></pre>

<p>Error Message:</p>

<p>The return type is incompatible with FragmentPagerAdapter.getItem(int)</p>

<p>I found a similar problem but with no clear solution to me
<a href="http://stackoverflow.com/questions/8993348/cannot-convert-from-android-support-v4-app-fragment-to-android-app-fragment">Cannot convert from android.support.v4.app.Fragment to android.app.Fragment</a></p>
