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.
You can pass a view in which you want to create Pager.
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.
Choose a transformation animation for viewpager. You need to set animation before creating viewpager.
Version 2.0 Android X
Aix File : com.dreamers.pager.aix (30.0 KB)
As always I will be waiting for your amazing suggestions and reviews. Hope you like it.