Open deividas717 opened 7 years ago
Yes - provide a ViewPager Adapter with only one item.
On Mar 16, 2017 1:34 PM, "deiauk" notifications@github.com wrote:
Thanks for the great library, however vit001 version has viewpager that has swipe effect. Is it possible to turn it off?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/miguelhincapie/CustomBottomSheetBehavior/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/ADoGr12F4RIyrP_MpTzx46L6wWDa2QX2ks5rmZzNgaJpZM4Mf18b .
Or alternatively - check the setSwipeLeft(boolean) and setSwipeRight(boolean) methods in the adapter to disable swiping on the fly.
On Mar 16, 2017 1:34 PM, "deiauk" notifications@github.com wrote:
Thanks for the great library, however vit001 version has viewpager that has swipe effect. Is it possible to turn it off?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/miguelhincapie/CustomBottomSheetBehavior/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/ADoGr12F4RIyrP_MpTzx46L6wWDa2QX2ks5rmZzNgaJpZM4Mf18b .
@vit001 thanks for quick reply! However this is not a clean solution. Is it possible to somehow not to use PagerAdapter at all? (I think most of the users want this functionality)
Sorry, the vit001 fork requires a view pager with an adapter. I could not get all the features to work without the scrolling parent (viewpager).
On Mar 16, 2017 2:12 PM, "deiauk" notifications@github.com wrote:
@vit001 https://github.com/vit001 thanks for quick reply! However this is not a clean solution. Is it possible to somehow not to use PagerAdapter?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/miguelhincapie/CustomBottomSheetBehavior/issues/41#issuecomment-287192438, or mute the thread https://github.com/notifications/unsubscribe-auth/ADoGr4q0OSeO5kj7OJoDk8TE82ZubARdks5rmaWhgaJpZM4Mf18b .
The main version has some bugs that vit001 has fixed in his version, some day in the future I will update the main version.
Thanks for the great library, however vit001 version has viewpager that has swipe effect. Is it possible to turn it off?