I can\'t work out why my objFragment is giving me issues with the support manager, I\'m getting this error:
Error:(101, 17) error: no suitable method found
Below is the answer to a similar question I found while searching the internet. This worked for me, so I hope it will help you.
Menu_Fragmentis not inheriting fromandroid.support.v4.app.Fragment. Presumably, it is inheriting fromandroid.app.Fragment.There are two fragment implementations: the native one (e.g.,
android.app.Fragment) and the backport (e.g.,android.support.v4.app.Fragment). You need to be consistent. Your activity is aFragmentActivity, which is part of the backport, so you need your fragments to inherit fromandroid.support.v4.app.Fragment.