You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An easy to use ViewPager that adds an awesome set of custom swiping animations. Just change your ViewPagers to JazzyViewPagers, two more steps, and you're good to go!
An easy to use ViewPager that adds an awesome set of custom swiping animations.
Just change your ViewPagers to JazzyViewPagers and you're good to go!
If you're looking at the name of the library and thinking "... so what does jazz have to do with it?"
I'd like to direct you to the following definition that I found in a dictionary:
jazz someone or something up:
to make someone or something more exciting or sexy;
to make someone or something appeal more to contemporary tastes.
The aim of this library is to do exactly this: jazz up the normal, everyday ViewPager
I've included a pretty barebones apk to show what the TransitionEffect.Tablet animation does.
The example app will get better, but this is just to get something in your hands quickly :D!
This project was inspired by CyanogenMod's Trebuchet launcher.
Animations Available
The JazzyViewPager's animations are encapsulated in TransitionEffect. I'll be adding more, but if you can think of anything
in particular, let me know by filing an "Enhancement" in the Issues section.
Due to the limitations of the ViewPager class (which JazzyViewPager is built upon) in order to get the animations to work correctly
for more than 3 Views, you'll have to add the following to the instantiateItem method of your PagerAdapter.
Once your Object is registered with the JazzyViewPager, you're good to go!
License
Copyright 2013 Jeremy Feinstein
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
About
An easy to use ViewPager that adds an awesome set of custom swiping animations. Just change your ViewPagers to JazzyViewPagers, two more steps, and you're good to go!