public class

CustomViewPager

extends ViewPager
java.lang.Object
   ↳ ViewPager
     ↳ com.pdftron.pdf.widget.CustomViewPager

Class Overview

A custom view pager that can toggle off swipe event.

Summary

Public Constructors
CustomViewPager(Context context)
CustomViewPager(Context context, AttributeSet attrs)
Public Methods
void setSwippingEnabled(boolean enabled)
Sets whether this view pager can be swiped
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CustomViewPager (Context context)

public CustomViewPager (Context context, AttributeSet attrs)

Public Methods

public void setSwippingEnabled (boolean enabled)

Sets whether this view pager can be swiped

Parameters
enabled true then this view pager can be swiped, false otherwise