Move the course fragment and the pagerAdapter out from MainActivity as stand-alone class files