| java.lang.Object | 
    
    
        
            | ↳ | ViewPager | 
    
    
        
            |  | ↳ | com.pdftron.pdf.widget.CustomViewPager | 
    
Class Overview
A custom view pager that can toggle off swipe event.
 
Summary
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | boolean | equals(Object arg0) |  
        | final
            
            
            Class<?> | getClass() |  
        | int | hashCode() |  
        | final
            
            
            void | notify() |  
        | final
            
            
            void | notifyAll() |  
        | String | toString() |  
        | final
            
            
            void | wait(long arg0, int arg1) |  
        | final
            
            
            void | wait(long arg0) |  
        | final
            
            
            void | wait() |  | 
 
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      CustomViewPager
      (Context context)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      CustomViewPager
      (Context context, AttributeSet attrs)
    
      
    
 
Public Methods
 
    
      
        public 
         
         
         
         
        boolean
      
      onInterceptTouchEvent
      (MotionEvent ev)
    
      
    
      
  
  
  
      Returns
      - true if this view pager can be swipe, false otherwise
 
     
 
 
    
      
        public 
         
         
         
         
        boolean
      
      onTouchEvent
      (MotionEvent ev)
    
      
    
      
  
  
  
      Returns
      - true if this view pager can be swipe, false otherwise
 
     
 
 
    
      
        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 |