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

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

Introduction

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

Usage

From source file com.inmobi.nativead.sample.photopages.CustomViewPager.java

public class CustomViewPager extends ViewPager {

    static final int ACTION_DISTANCE_AUTO = Integer.MAX_VALUE;
    static final float SCALEDOWN_GRAVITY_TOP = 0.0f;
    static final float SCALEDOWN_GRAVITY_CENTER = 0.5f;
    static final float SCALEDOWN_GRAVITY_BOTTOM = 1.0f;

From source file app.wenya.sketchbookpro.ui.view.looppager.LoopViewPager.java

/**
 * A ViewPager subclass enabling infinte scrolling of the viewPager elements
 * 
 * When used for paginating views (in opposite to fragments), no code changes
 * should be needed only change xml's from <android.support.v4.view.ViewPager>
 * to <com.imbryk.viewPager.LoopViewPager>

From source file com.hanyu.desheng.ui.loopviewpager.LoopViewPager.java

/**
 * A ViewPager subclass enabling infinte scrolling of the viewPager elements
 * 
 * When used for paginating views (in opposite to fragments), no code changes should be needed only change
 * xml's from <android.support.v4.view.ViewPager> to <com.imbryk.viewPager.LoopViewPager>
 * 

From source file com.deanlib.ootb.widget.loopviewpager.LoopViewPager.java

/**
 * A ViewPager subclass enabling infinte scrolling of the viewPager elements
 * 
 * When used for paginating views (in opposite to fragments), no code changes
 * should be needed only change xml's from <android.support.v4.view.ViewPager>
 * to <com.imbryk.viewPager.LoopViewPager>

From source file com.example.dateasy.ui.LoopViewPager.java

/**
 * A ViewPager subclass enabling infinte scrolling of the viewPager elements
 * <p/>
 * When used for paginating views (in opposite to fragments), no code changes
 * should be needed only change xml's from <android.support.v4.view.ViewPager>
 * to <com.imbryk.viewPager.LoopViewPager>

From source file com.github.paradam.infinitepager.InfiniteViewPager.java

/**
 * <p>A ViewPager that handles simulating an infinite scrolling list of pages when used in conjunction
 * with an InfinitePagerAdapter. This implementation will only accept an instance of
 * {@link com.github.paradam.infinitepager.InfinitePagerAdapter} as any other instance of PagerAdapter
 * could have undefined behaviour.</p>
 *

From source file com.yuandong.brandviewdemo.widget.brandLooper.LoopViewPager.java

public class LoopViewPager extends ViewPager {

    private static final String TAG = LoopViewPager.class.getSimpleName();
    private static final boolean DEFAULT_BOUNDARY_CASHING = false;
    private static final boolean DEFAULT_BOUNDARY_LOOPING = true;
    private static final int DELAY_LONG_DUTATION = 5000;

From source file com.vinexs.view.NonSwipeableViewPager.java

@SuppressWarnings("unused")
public class NonSwipeableViewPager extends ViewPager {

    public NonSwipeableViewPager(Context context) {
        super(context);
    }

From source file com.njlabs.amrita.aid.util.HackyViewPager.java

/**
 * Hacky fix for Issue #4 and
 * http://code.google.com/p/android/issues/detail?id=18990
 * <p/>
 * ScaleGestureDetector seems to mess up the touch events, which means that
 * ViewGroups which make use of onInterceptTouchEvent throw a lot of

From source file com.umeng.common.ui.widgets.CommunityViewPager.java

/**
 * ?ViewPager?Fragment??ViewPagerViewPager?
 */
public class CommunityViewPager extends ViewPager {

    private ViewPager mSubViewPager;