Since my app at Google Play targets Android 2.2 or higher, there a few things that need to be in place for fragments.
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentActivity;
ActivityThatCallsFragment extends FragmentActivity
Use getSupportFragmentManager() instead of getFragmentManager()
No comments:
Post a Comment