Problems with FragmentPagerAdapter
I'm trying to make a slidescreen with viewpager and fragments so that I can load different layouts per fragment and give each page different functionality. I followed a tutorial to accomplish this. The error I'm getting when hovering over public Fragment getItem(int arg0) : The return type is incompatible with FragmentPagerAdapter.getItem(int) and error #2: The constructor FragmentPagerAdapter(FragmentManager) is undefined --> getting this one when hovering super(fm); package com.example.spui; import android.os.Bundle; import android.app.Fragment; import android.app.FragmentManager; import