Example usage for android.support.v4.view PagerAdapter subclass-usage

List of usage examples for android.support.v4.view PagerAdapter subclass-usage

Introduction

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

Usage

From source file com.bt.download.android.gui.views.FragmentPagerAdapter.java

/**
 * Implementation of {@link android.support.v4.view.PagerAdapter} that
 * represents each page as a {@link android.app.Fragment} that is persistently
 * kept in the fragment manager as long as the user can return to the page.
 *
 * <p>This version of the pager is best for use when there are a handful of

From source file com.example.search.adapter.FragmentPagerAdapter.java

/**
 * Implementation of {@link PagerAdapter} that
 * represents each page as a {@link Fragment} that is persistently kept in the
 * fragment manager as long as the user can return to the page.
 * 
 * <p>

From source file com.joanzapata.android.BasePagerAdapter.java

/**
 * ViewPagerAdapter
 * 
 * @author LiangZiChao created on 201592
 */
public abstract class BasePagerAdapter<T, H extends BaseAdapterHelper> extends PagerAdapter {

From source file com.androidinspain.deskclock.FragmentTabPagerAdapter.java

/**
 * This adapter produces the DeskClockFragments that are the content of the DeskClock tabs. The
 * adapter presents the tabs in LTR and RTL order depending on the text layout direction for the
 * current locale. To prevent issues when switching between LTR and RTL, fragments are registered
 * with the manager using position-independent tags, which is an important departure from
 * FragmentPagerAdapter.

From source file com.baiiu.zhihudaily.view.widget.loopvp.LoopingAdapterWrapper.java

/**
 * A PagerAdapter wrapper responsible for providing a proper page to
 * LoopViewPager
 * <p>
 * This class shouldn't be used directly
 */

From source file co.bytera.twodimensionalviewpager.adapter.TwoDimensionalViewPagerAdapter.java

public class TwoDimensionalViewPagerAdapter extends PagerAdapter {

    /*
     *  For the demonstration purpose, 2-D of resource(integer) array is used.
     *  However, any types of data are able to be set.
     *  Array can be ragged as well.

From source file com.eccyan.widget.LoopPagerAdapterWrapper.java

/**
 * A PagerAdapter wrapper responsible for providing a proper page to
 * LoopViewPager
 * 
 * This class shouldn't be used directly
 */

From source file com.hippo.widget.viewpager.RecyclerPagerAdapter.java

public abstract class RecyclerPagerAdapter<E extends PagerHolder> extends PagerAdapter {

    static final int INVALID_POSITION = -1;

    private Set<E> mAttachedHolder = new HashSet<>();

From source file com.lxf.particle.MyFragmentPagerAdapter.java

/**
 * Implementation of {@link android.support.v4.view.PagerAdapter} that
 * represents each page as a {@link Fragment} that is persistently
 * kept in the fragment manager as long as the user can return to the page.
 *
 * <p>This version of the pager is best for use when there are a handful of

From source file com.github.jobs.adapter.FragmentStatePagerAdapter.java

public abstract class FragmentStatePagerAdapter extends PagerAdapter {
    private static final String TAG = "FragmentStatePagerAdapter";
    private static final boolean DEBUG = false;

    private final FragmentManager mFragmentManager;
    private FragmentTransaction mCurTransaction = null;