Cannot resolve method ‘getSupportFragmentManager ( )’ inside Fragment

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.

Leave a Comment