-
Notifications
You must be signed in to change notification settings - Fork 40
Home
jjhesk edited this page Apr 16, 2016
·
7 revisions
Welcome to the LoyalNativeSlider wiki!
If you have any problems in terms of implementations please refer to this folder for the Sample Code
To learn more fundamental setups for how it works please refer to this link.
The current support attributes for xml setups - explore
###v1.8.2
- adding dynamic slide height
###v1.3.2
- Save image function by long click on the thumb
- Enhanced number view
- Allow direct image resizing
- When there is only one image, it will not able to scroll.
- Allow left and right button flip on the functionality
###v0.2.9
- fixed id reflection issue
###v0.2.8
- fixed bugs
- enhanced extenable number indicator
- allow different position for the indicator presentations
- extensive custom buttons for and
- more options for smart presention including the constance for the item limit
###v0.2.5
- mutislidable viewpager list
- infinity viewpager slider
- added buttons for both sides
#List of trasnformers
- AccordionTransformer
- BackgroundToForegroundTransformer
- CubeInTransformer
- CubeOutTransformer
- DefaultTransformer
- DepthPageTransformer
- DrawFromBackTransformer
- FlipHorizontalTransformer
- FlipVerticalTransformer
- ForegroundToBackgroundTransformer
- ParallaxPageTransformer
- RotateDownTransformer
- RotateUpTransformer
- StackTransformer
- TabletTransformer
- ZoomInTransformer
- ZoomOutSlideTransformer
- ZoomOutTranformer
#Creating Custom Transforms
All ViewPagerTransform implementations extend BaseTransformer providing useful hooks improving readability of animations and basic functionality important when switching between animations. BaseTransformer provides three lifecycle hooks and two flags for default handling of hiding offscreen fragments and mimicking the default paging functionality of the ViewPager.
- preTransform(View view, float position)
- Default implementation resets the animation state of the fragment to defaults that will place it on the screen if its position permits.
- onTransform(View view, float position)
- Animations should perform all or most of their work inside this callback.
- postTransform(View view, float position)
- Default implementation does nothing. This provides a logical location for any additional work to be done that is not directly related to the animation.