VanGogh

Android view animations powered by RxJava2.

License

License

Categories

Categories

PDF Data
GroupId

GroupId

com.pspdfkit-labs
ArtifactId

ArtifactId

vangogh
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

aar
Description

Description

VanGogh
Android view animations powered by RxJava2.
Project URL

Project URL

https://github.com/PSPDFKit-labs/VanGogh
Source Code Management

Source Code Management

https://github.com/PSPDFKit-labs/VanGogh

Download vangogh

How to add to project

<!-- https://jarcasting.com/artifacts/com.pspdfkit-labs/vangogh/ -->
<dependency>
    <groupId>com.pspdfkit-labs</groupId>
    <artifactId>vangogh</artifactId>
    <version>0.3.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.pspdfkit-labs/vangogh/
implementation 'com.pspdfkit-labs:vangogh:0.3.0'
// https://jarcasting.com/artifacts/com.pspdfkit-labs/vangogh/
implementation ("com.pspdfkit-labs:vangogh:0.3.0")
'com.pspdfkit-labs:vangogh:aar:0.3.0'
<dependency org="com.pspdfkit-labs" name="vangogh" rev="0.3.0">
  <artifact name="vangogh" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.pspdfkit-labs', module='vangogh', version='0.3.0')
)
libraryDependencies += "com.pspdfkit-labs" % "vangogh" % "0.3.0"
[com.pspdfkit-labs/vangogh "0.3.0"]

Dependencies

compile (3)

Group / Artifact Type Version
androidx.appcompat » appcompat jar 1.0.0
io.reactivex.rxjava2 : rxjava jar 2.2.7
io.reactivex.rxjava2 : rxandroid jar 2.1.1

Project Modules

There are no modules declared in this project.

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.3.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.
com.pspdfkit-labs

PSPDFKit Labs

The leading framework for displaying, annotating and editing PDFs on iOS, Android, Windows and the Web. Account for open source projects.

Versions

Version
0.3.0
0.2.0
0.1.1
0.1.0