SyntaxFix
Write A Post
Hire A Developer
Questions
Inside a Fragment subclass you have to use getFragmentManager in place of getSupportFragmentManager. You will get the support one if the import are from the support library.
Fragment
getFragmentManager
getSupportFragmentManager