All Projects → sacot41 → Scviewpager

sacot41 / Scviewpager

Licence: apache-2.0

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Scviewpager

Banner Slider
Banner slider is an easy to use library for implement image sliders in android apps.
Stars: ✭ 482 (-41.22%)
Mutual labels:  viewpager
Ultraviewpager
UltraViewPager is an extension for ViewPager to provide multiple features in a single ViewPager.
Stars: ✭ 5,030 (+513.41%)
Mutual labels:  viewpager
Easyflipviewpager
📖 The library for creating book and card flip animations in ViewPager in Android
Stars: ✭ 698 (-14.88%)
Mutual labels:  viewpager
Dsltablayout
♥️ Android界最万能的TabLayout(不仅仅是TabLayout), 支持任意类型的item, 支持Drawable类型的指示器,智能开启滚动,支持横竖向布局等
Stars: ✭ 489 (-40.37%)
Mutual labels:  viewpager
Android Viewpager Transformers
A collection of view pager transformers
Stars: ✭ 546 (-33.41%)
Mutual labels:  viewpager
Inkpageindicator
InkPageIndicator created by @nickbutcher for Plaid https://github.com/nickbutcher/plaid and backported by me for API 14+ (4.0+)
Stars: ✭ 589 (-28.17%)
Mutual labels:  viewpager
Viewpager Transformation
Why use dependencies when you create your own transformations for Viewpager ?
Stars: ✭ 463 (-43.54%)
Mutual labels:  viewpager
Animatedbottombar
A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
Stars: ✭ 797 (-2.8%)
Mutual labels:  viewpager
Snaptablayout
Android library for fluid tablayout animation as seen on Snapchat.
Stars: ✭ 547 (-33.29%)
Mutual labels:  viewpager
Gallerylayoutmanager
New way to implements ViewPager/Gallery in Android with RecycleView
Stars: ✭ 684 (-16.59%)
Mutual labels:  viewpager
Material Viewpagerindicator
Dot-based Android ViewPager indicator with Material Design animations.
Stars: ✭ 511 (-37.68%)
Mutual labels:  viewpager
Bubbletab
Put some bubble in your tabs and give your apps a supa fresh style !
Stars: ✭ 537 (-34.51%)
Mutual labels:  viewpager
Discretescrollview
A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
Stars: ✭ 5,533 (+574.76%)
Mutual labels:  viewpager
Pageindicatorview
An page indicator for Android ViewPager
Stars: ✭ 4,498 (+448.54%)
Mutual labels:  viewpager
Creative Viewpager
Creative View Pager easy to use in Android
Stars: ✭ 715 (-12.8%)
Mutual labels:  viewpager
Pagetransformerhelp
👍 A PageTransformer library for Android ViewPager,have some Banner styles. ViewPager 实现轮播图、实现卡片切换。
Stars: ✭ 478 (-41.71%)
Mutual labels:  viewpager
Litepager
LitePager,一个轻量级的ViewPager,仿新版网易云歌单广场
Stars: ✭ 563 (-31.34%)
Mutual labels:  viewpager
Flippablestackview
An Android library introducing a stack of Views with the first item being flippable.
Stars: ✭ 807 (-1.59%)
Mutual labels:  viewpager
Liquidswipe
Android LiquidSwipe Library
Stars: ✭ 721 (-12.07%)
Mutual labels:  viewpager
Infinitecycleviewpager
Infinite cycle ViewPager with two-way orientation and interactive effect.
Stars: ✭ 5,720 (+597.56%)
Mutual labels:  viewpager

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):

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.

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
	android:layout_height="match_parent"
	tools:context=".MainActivity">

	<com.dev.sacot41.scviewpager.SCViewPager
        android:id="@+id/viewpager_main_activity"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
	</com.dev.sacot41.scviewpager.SCViewPager>

	<TextView
        android:id="@+id/textview_to_animate"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:text="@string/textview_bonjour"/>

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

Point size = SCViewAnimationUtil.getDisplaySize(this);

View view = findViewById(R.id.textview_to_animate);
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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].