I\'m learning Android development. I get stuck at something that should be very easy.
Im creating an App with one Activity, 2 fragments and 1 interface.
It's simple.
If you also want your app to run in older devices (below API level 11), use getSupportFragmentManager().
getSupportFragmentManager()
If you want your app to run in devices with API Level above 11, then use getFragmentManger().
getFragmentManger()