sacot41
SCViewPager
Java

No description available.

Last updated May 12, 2026
809
Stars
125
Forks
0
Issues
0
Stars/day
Attention Score
56
Language breakdown
No language data available.
โ–ธ Files click to expand
README

Android Arsenal

SCViewPager

Jazz for android

A simple ViewPager extends that provide scroll based animation like Jazz Hands for iOS. Jazz Hands library provided by IFTTT : https://github.com/IFTTT/JazzHands

alt tag

Install

With Gradle (JCenter):

groovy
compile "com.dev.sacot41:scviewpager:0.0.4"

Start

First, add SCViewPager to your project. Create an activity with the viewPage and the views you want to animate.

xml
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
    android:layoutwidth="matchparent"
	android:layoutheight="matchparent"
	tools:c>

<com.dev.sacot41.scviewpager.SCViewPager android:id="@+id/viewpagermainactivity" android:layoutwidth="matchparent" android:layoutheight="matchparent"> </com.dev.sacot41.scviewpager.SCViewPager>

<TextView android:id="@+id/textviewtoanimate" android:layoutwidth="wrapcontent" android:layoutheight="wrapcontent" android:background="@color/white" android:text="@string/textview_bonjour"/>

Retrieve view and add animation after you have set viewPager and his adapter.

java
Point size = SCViewAnimationUtil.getDisplaySize(this);

View view = findViewById(R.id.textviewtoanimate); SCViewAnimation viewAnimation = new SCViewAnimation(view); viewAnimation.startToPosition((int)(size.x*1.5), null); viewAnimation.addPageAnimation(new SCPositionAnimation(this, 0, -(int)(size.x*1.5), 0)); mViewPager.addAnimation(viewAnimation);

Disclaimer

This project is not yet implemented in a real app and it's hasn't the pretension to implement all feature provided by JazzHand on IOS; this projects is a pretext to me to better understand animation based on scrollview (viewpager) and publish my first library on Jcenter.

If you want a more complete library, heck Nightonke library, he add more animation and correct some bug : https://github.com/Nightonke/WoWoViewPager.

ยฉ 2026 GitRepoTrend ยท sacot41/SCViewPager ยท Updated daily from GitHub