Hi Koders,
I need help regarding the view pager..
So I want to enable or disable the swiping of the view pager whenever I want…
I have tried setting tab mode to fixed but it didn’t worked..
And for this I think no blocks needed..
Thanks you so much for helping..
ADDYLIN
(ADDYLIN)
July 14, 2020, 6:11am
2
Please someone Reply to this Topic about the Solution.
Or if @nikzdreamer2001 , you have found the way to do so, can you Please Share it with me and others.
Hi @ADDYLIN ,
I have found alternative way…
And thanks you for first reply I’m topic..
Kodular Creativity - UI Designs, Animations, and Blocks - #39 by nikzdreamer2001
I’ll make tutorial on that but first I have to complete my app..
1 Like
ADDYLIN
(ADDYLIN)
July 14, 2020, 6:50am
4
OK i understood the Principle behind it.
That looks Good in your Browser,
but i am thinking about how to implement it in my Project.
Btw it is made with horizontal scroll handler..
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:30am
7
Well, i made it.
Thanks for the Idea.
1 Like
Using horizontal scroll handler or any other?
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:32am
9
Yes with that Only and also found a other way to control ViewPager swiping.
i think it may be using any gesture listener extension
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:33am
11
No,
i did it Using Floating View Extension.
would you like to share preview??
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:48am
13
I can tell you the method.
This is how it works in my Project.
I made a CardView of Height - 100% Width - 100% BackGroundColour - #00000000 Visible - False
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:49am
14
I think You will Understand.
1 Like
can you show preview instead of blocks
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:51am
16
As CardView Height and Width are 100% it comes in Front of ViewPager and Blocks its Swiping Property.
When its Visible to False ViewPager becomes Swipeable again.
1 Like
what if you have to swipe down to see more component
ADDYLIN
(ADDYLIN)
July 14, 2020, 7:55am
19
Sorry, i didn’t understood your Question.
Can you Repeat Briefly.
Okay,
Suppose we have content more than the height of devices then user must need to scroll down to see it but i think you have covered whole content with card so scrolling will also be disabled..