Skip to content
💥 Android view animations powered by RxJava 2
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
art
gradle
vangogh-sample
vangogh
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
RELEASING.md
build.gradle
dependencies.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Build Status

Great things are done by a series of small things brought together. RxJava meets Animations.

Introduction

VanGogh is a lightweight library that takes Android view animation logic and binds it with RxJava2, providing a simple and powerful API for manipulating animations workflow. (Also see the announcement blog post)

It also provides various pre-made commonly used animations such as fading, rotating, moving, etc. Another thing that you get are the base animation wrappers so you can create your own complex animations with custom actions.

For documentation on how to use the library, please check the VanGogh wiki page.

PSPDFKit offers SDKs for iOS, Android, macOS, Windows and Web to view, edit, annotate, fill forms and digitally sign PDF documents. VanGogh is used in PDF Viewer for Android as the main animation library.

Example

Here's a really simple example of how you can chain animations together:

fadeIn(view1)
  .andThen(fadeIn(view2))
  .andThen(
    together(fadeOut(view3), fadeOut(view4)))
  .subscribe();

And this is just a tip of the iceberg! For further documentation see the Wiki.

Download

Add maven central repo to your repositories in build.gradle:

repositories {
  mavenCentral()
}

And latest version to your dependencies:

compile 'com.pspdfkit-labs:vangogh:0.2.0'

Snapshots of the development version are available in Sonatype's snapshots repository.

License

MIT License

Copyright (c) 2017 PSPDFKit GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
You can’t perform that action at this time.