Code example for ViewPager

Methods: canScroll

0
       else if (v instanceof CompoundButton) 
       { 
           return false; 
       } 
       else 
           return super.canScroll(v, checkV, dx, x, y); 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java