/*
- * Copyright © 2016-2019 Soren Stoutner <soren@stoutner.com>.
+ * Copyright © 2016-2020 Soren Stoutner <soren@stoutner.com>.
*
* This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
*
import com.stoutner.privacybrowser.fragments.GuideTabFragment;
public class GuidePagerAdapter extends FragmentPagerAdapter {
- // Define the class context variable.
+ // Define the class variables.
private Context context;
+ // The default constructor.
public GuidePagerAdapter(FragmentManager fragmentManager, Context context) {
// Run the default commands.
super(fragmentManager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
- // Store the context in a class variable.
+ // Store the class variables.
this.context = context;
}
@Override
// Get the count of the number of tabs.
public int getCount() {
- return 10;
+ return 9;
}
@Override
case 8:
return context.getString(R.string.tracking_ids);
- case 9:
- return context.getString(R.string.bookmarks);
-
default:
return "";
}