Example usage for android.support.v4.app FragmentPagerAdapter subclass-usage

List of usage examples for android.support.v4.app FragmentPagerAdapter subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.app FragmentPagerAdapter subclass-usage.

Usage

From source file com.initiativaromania.hartabanilorpublici.IRUserInterface.objects.EntityViewPageAdapter.java

/**
 * Created by claudiu on 3/30/16.
 */
public class EntityViewPageAdapter extends FragmentPagerAdapter {
    public List<Fragment> fragments;
    private String tabTitles[];

From source file com.lemon.aklib.widget.fragmentswitcher.FragmentArrayPagerAdapter.java

/**
 * A {@link android.support.v4.app.FragmentPagerAdapter} that does not need to
 * be subclassed and can be filled like an array.
 */
@SuppressWarnings("UnusedDeclaration")
public class FragmentArrayPagerAdapter<T extends Fragment> extends FragmentPagerAdapter {

From source file me.fattycat.kun.teamwork.ui.adapter.MainTabPagerAdapter.java

public class MainTabPagerAdapter extends FragmentPagerAdapter {
    private final List<Fragment> mFragments = new ArrayList<>();
    private final List<String> mTitles = new ArrayList<>();

    public MainTabPagerAdapter(FragmentManager fm) {
        super(fm);

From source file com.syncedsynapse.kore2.utils.TabsAdapter.java

/**
 * This is a helper class that implements the management of tabs and all
 * details of connecting a ViewPager with associated TabHost.
 */
public class TabsAdapter extends FragmentPagerAdapter {
    private final Context context;

From source file com.adithya321.sharesanalysis.adapters.TabsAdapter.java

public class TabsAdapter extends FragmentPagerAdapter {
    private final List<Fragment> mFragments = new ArrayList<>();
    private final List<String> mFragmentTitles = new ArrayList<>();

    public TabsAdapter(FragmentManager fm) {
        super(fm);

From source file com.davidmiguel.gobees.utils.TabsFragmentPagerAdapter.java

/**
 * Adapter for ViewPager.
 * Control the order of the tabs, the titles and their associated content.
 */
public class TabsFragmentPagerAdapter extends FragmentPagerAdapter {

From source file com.karumi.dividers.sample.SampleFragmentPagerAdapter.java

public class SampleFragmentPagerAdapter extends FragmentPagerAdapter {

    private final Context context;

    private final FragmentPage[] pages = { new FragmentPage(new SampleGridFragment(), R.string.movies_title),
            new FragmentPage(new SampleListFragment(), R.string.books_title), };

From source file com.widget.smarttablayout.utils.v4.FragmentPagerItemAdapter.java

public class FragmentPagerItemAdapter extends FragmentPagerAdapter {

    private final FragmentPagerItems pages;
    private final SparseArrayCompat<WeakReference<Fragment>> holder;

    public FragmentPagerItemAdapter(FragmentManager fm, FragmentPagerItems pages) {

From source file de.grobox.liberario.MainPagerAdapter.java

public class MainPagerAdapter extends FragmentPagerAdapter {
    private List<String> fragments;
    private Context context;

    public MainPagerAdapter(FragmentManager fm, Context context, List<String> fragments) {
        super(fm);

From source file com.commonsware.android.gridlayout.SampleAdapter.java

public class SampleAdapter extends FragmentPagerAdapter {
    static ArrayList<Sample> SAMPLES = new ArrayList<Sample>();
    private Context ctxt = null;

    static {
        SAMPLES.add(new Sample(R.layout.row, R.string.row));