Pager
Pager is a simple extension and is based on ViewPager library provided by android. It works the same as builtin viewpager component but has custom animations to help you make your app look even better with awesome animations. You can easily make Image carousels , Card carousels etc. Make sure to give it a try.
Documentation
You can pass horizontal or vertical arrangement in which you want to create Pager. Transformer will determine the animation. Currently There are only two animations but till tomorrow I will add more custom animations.
Add a view to pager. You can pass arrangements, card views or you can say all visible components.
Pass the view that you want to remove
Remove view at specific index
Remove all views
Set a view as current visible item
Set item at specific index to be the current visible item
It is triggered when page is changed
Get current item’s index and total items respectively.
These are the two currently available animations. I will add more as i said earlier. You can also suggest animations.
Preview
You can also watch this video here : https://youtu.be/Iomtg2tEoB0
Download
Aix File : com.dreamers.Pager.aix (95.4 KB)
Aia File : PagerDemo.aia (96.6 KB) `
As always I will be waiting for your amazing suggestions and reviews. Hope you like it.