I know, there are many forum posts on this topic already, but none did solve my issue
My code looks like this:
private SectionsPager
getChildFragmentManager() is a method of a Fragment. Since you are subclassing AppCompatActivity, you can't access it. If you are using the Fragment from the support library you can use getSupportFragmentManager()
getChildFragmentManager()
Fragment
AppCompatActivity
getSupportFragmentManager()