private void setupViewPager(ViewPager viewPager) {
        // TODO: see if we can replace the words with icons in the future
        mSectionsPageAdapter.addFragment(new HomeFragment(), "Home");
        mSectionsPageAdapter.addFragment(new SettingsFragment(), "Settings");
        viewPager.setAdapter(mSectionsPageAdapter);
    }
private void setupViewPager(ViewPager viewPager) {
       
        mSectionsPageAdapter.addFragment(new HomeFragment(), "Home");
        mSectionsPageAdapter.addFragment(new SettingsFragment(), "Settings");
        viewPager.setAdapter(mSectionsPageAdapter);
    }
private void setupviewpager(viewpager viewpager) { msectionspageadapter.addfragment(new homefragment(), "home"); msectionspageadapter.addfragment(new settingsfragment(), "settings"); viewpager.setadapter(msectionspageadapter); }