Parallax View Pager
Hi everyone, hope you are all good and be happy after new update of kodular. This extension allow you to create a view pager with parallax effect. There are two types of modes available in the properties. You can use any of them. You can head to the preview section of the topic for watching preview of the view pager.
Now Let see some blocks and their doecumentation.
All Blocks
Properties
Modes
Interpolators
There are two types of interpolator that apply some effect while transforming the pages.
Documentation
This event raises when the pages changes.
Add the view component in view pager
Remove the page at given position from view pager.
Select the page at given position.
This block creates the view pager to the given layout or arrangement in in
parameter.
Remove all the pages from the view pager.
Returns the current selected page index.
Propert for setting and getting the interpolator factor. In easy words scale factor are some amount that customize the animation.
Propert for setting and getting the mode or parallax effect type.
Propert for setting and getting the interpolator of the view pager.
I hope you understood the documentation now let see how we can implement this in our apps.
Usage
Changing some properties so blocks can be reduced.
Here I have used dynamic components extension for making and adding pages dynamically.
It is very simple ot add in our app.
Preview
Let see output now
Right Overlay
Left Overlay
Downloads
ParallaxPager.apk (5.3 MB)
ParallaxPager.aia (309.7 KB)
Download Extension :
Credit
Thanks to @Shreyash for his super Rush .
Thanks @yusufcihan for Dynamic Component Extension.
Thanks @DevYB for his Image Loader Extension
Suggestion and issue are welcome
If you like the extension then like the topic
Thank You All
Donate
If you like my work then donate if you can