All Projects → ToxicBakery → Viewpagertransforms

ToxicBakery / Viewpagertransforms

Licence: apache-2.0
Library containing common animations needed for transforming ViewPager scrolling for Android v13+.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Viewpagertransforms

Xbanner
🔥【图片轮播】支持图片无限轮播,支持AndroidX、自定义指示点、显示提示文字、切换动画、自定义布局,一屏显示多个等功能
Stars: ✭ 1,734 (-30%)
Mutual labels:  viewpager
Producttour
ProductTour is android sample project implementing a parallax effect welcome page using ViewPager and PageTransformer, similar to the one found in Google's app like Sheet, Drive, Docs...
Stars: ✭ 1,839 (-25.76%)
Mutual labels:  viewpager
Tabman
™️ A powerful paging view controller with interactive indicator bars
Stars: ✭ 2,235 (-9.77%)
Mutual labels:  viewpager
Shviewpager
A simple view pager for iOS. Compatible with iOS 8.0 or later.
Stars: ✭ 127 (-94.87%)
Mutual labels:  viewpager
Wormtabstrip
🐛 WormTabStrip ViewPager for iOS written in Swift, which gives continuous feedback to the user when scrolling
Stars: ✭ 145 (-94.15%)
Mutual labels:  viewpager
Cardslider
Card Slider is an android component allows you to implement carousel effect with infinite indicators and more features
Stars: ✭ 160 (-93.54%)
Mutual labels:  viewpager
Pageboy
📖 A simple, highly informative page view controller
Stars: ✭ 1,652 (-33.31%)
Mutual labels:  viewpager
Dotsindicator
Three material Dots Indicators for view pagers in Android !
Stars: ✭ 2,447 (-1.21%)
Mutual labels:  viewpager
Imageviewer
A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器
Stars: ✭ 1,889 (-23.74%)
Mutual labels:  viewpager
Viewpagerdots
👀 Simple, compact Kotlin library for ViewPager page indicators.
Stars: ✭ 168 (-93.22%)
Mutual labels:  viewpager
Widgetlayout
自定义ViewGroup的集合(有 kotlin 实现分支):提高编写效率和 UI 绘制性能,少嵌套,易用易扩展。
Stars: ✭ 130 (-94.75%)
Mutual labels:  viewpager
Viewpager Swift
Simple View Pager library for swift using UIPageViewController and Scroll View
Stars: ✭ 136 (-94.51%)
Mutual labels:  viewpager
Dropindicator
A ViewPager indicator use Bezier curve
Stars: ✭ 161 (-93.5%)
Mutual labels:  viewpager
Bubblepagerindicator
A view pager indicator view to deal with a large amount of pages.
Stars: ✭ 127 (-94.87%)
Mutual labels:  viewpager
Bannerviewpager
🚀 An awesome banner view for Android,Based on ViewPager2. 这可能是全网最好用的ViewPager轮播图。简单、高效,一行代码实现循环轮播,一屏三页任意变,指示器样式任你挑。
Stars: ✭ 2,603 (+5.09%)
Mutual labels:  viewpager
Zjywidget
🎨 一组实用炫酷自定义View的集合(包括源码及demo)包括常见的支付、扫描、解锁动画、炫酷转盘式菜单等效果。A collection of Android cool custom views
Stars: ✭ 121 (-95.12%)
Mutual labels:  viewpager
Flipviewpager.draco
This project aims to provide a working page flip implementation for usage in ListView.
Stars: ✭ 1,849 (-25.35%)
Mutual labels:  viewpager
Mzbannerview
仿魅族BannerView,图片轮播控件,支持多种模式切换:普通ViewPager使用,普通Banner使用,仿魅族Banner使用。
Stars: ✭ 2,298 (-7.23%)
Mutual labels:  viewpager
Lastpageradapter
Don't write a ViewPager Adapter! Hook up your ViewPager to your data model using Android Data Binding Framework. With Kotlin support!
Stars: ✭ 181 (-92.69%)
Mutual labels:  viewpager
Expandingpager
ExpandingPager is a card peek/pop controller
Stars: ✭ 1,906 (-23.05%)
Mutual labels:  viewpager

CircleCI License Maven Central

ViewPagerTransforms

Library containing common animations needed for transforming ViewPager scrolling on Android v13+. This library is a rewrite of the JazzyViewPager library and owes credit of the animation concepts directly to its source. The purpose of this rewrite is to provide an easier to use and extend implementation of ViewPager animations.

Demo

Getting Started (Gradle / Android Studio)

Add gradle dependency to your application.

implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:2.0.24'

After configuration, instantiate the transformer animation you wish to use and set it as the page transformer.

// Reference (or instantiate) a ViewPager instance and apply a transformer
pager = (ViewPager) findViewById(R.id.container);
pager.setAdapter(mAdapter);
pager.setPageTransformer(true, new RotateUpTransformer());

Creating Custom Transforms

All ViewPagerTransform implementations extend ABaseTransformer providing useful hooks improving readability of animations and basic functionality important when switching between animations. ABaseTransformer provides three lifecycle hooks and two flags for default handling of hiding offscreen fragments and mimicking the default paging functionality of the ViewPager.

Building

This project is built with Gradle using the Gradle Wrapper script.

./gradlew build

Creating Local Versions

You can modify this project and create local packages with via the maven publish plugin used in the build scripts.

./gradlew publishToMavenLocal
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].