to vit001 how to disable viewpager?
deividas717 opened this issue · 5 comments
deividas717 commented
Thanks for the great library, however vit001 version has viewpager that has swipe effect. Is it possible to turn it off?
vit001 commented
Yes - provide a ViewPager Adapter with only one item.
…On Mar 16, 2017 1:34 PM, "deiauk" ***@***.***> 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
<#41>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADoGr12F4RIyrP_MpTzx46L6wWDa2QX2ks5rmZzNgaJpZM4Mf18b>
.
vit001 commented
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" ***@***.***> 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
<#41>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADoGr12F4RIyrP_MpTzx46L6wWDa2QX2ks5rmZzNgaJpZM4Mf18b>
.
deividas717 commented
@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)
vit001 commented
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" ***@***.***> 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
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADoGr4q0OSeO5kj7OJoDk8TE82ZubARdks5rmaWhgaJpZM4Mf18b>
.
miguelhincapie commented
The main version has some bugs that vit001 has fixed in his version, some day in the future I will update the main version.