Home Why can't I make this (SectionsPagerAdapter) class private?
Reply: 0

Why can't I make this (SectionsPagerAdapter) class private?

user433 Published in May 25, 2018, 8:56 am
private class SectionsPagerAdapter extends FragmentPagerAdapter {

    public SectionsPagerAdapter(FragmentManager fm) {

    public int getCount () {
        return 4;


I am doing a Head First Android tutorial and I cannot make this class private? Is there a different way to do this on android? Should I add parameters for the super class?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.437392 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO