All Projects → blipinsk → Rxanimationbinding

blipinsk / Rxanimationbinding

Licence: apache-2.0
RxJava binding APIs for Android's animations

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rxanimationbinding

Rxkotlinfx
Kotlin extensions to the RxJavaFX framework
Stars: ✭ 177 (+115.85%)
Mutual labels:  rxjava, reactivex
RxJava-Codelab
Codelab project for demonstration of RxJava features
Stars: ✭ 44 (-46.34%)
Mutual labels:  reactivex, rxjava
servant
Serving you with GoogleApiClients any way you like them
Stars: ✭ 17 (-79.27%)
Mutual labels:  reactivex, rxjava
Rxjava2 Extras
Utilities for use with RxJava 2
Stars: ✭ 167 (+103.66%)
Mutual labels:  rxjava, reactivex
Rxdocs
Rx和RxJava文档中文翻译项目
Stars: ✭ 3,825 (+4564.63%)
Mutual labels:  rxjava, reactivex
TMDB-App
Demo app using TMDB api
Stars: ✭ 13 (-84.15%)
Mutual labels:  reactivex, rxjava
rxkotlin-jdbc
Fluent RxJava JDBC extension functions for Kotlin
Stars: ✭ 27 (-67.07%)
Mutual labels:  reactivex, rxjava
reactor-go
A golang implementation for reactive-streams.
Stars: ✭ 48 (-41.46%)
Mutual labels:  reactivex, rxjava
Web3j
Lightweight Java and Android library for integration with Ethereum clients
Stars: ✭ 3,537 (+4213.41%)
Mutual labels:  rxjava, reactivex
Reactive
Reactive: Examples of the most famous reactive libraries that you can find in the market.
Stars: ✭ 256 (+212.2%)
Mutual labels:  rxjava, reactivex
Rxjavafx
RxJava bindings for JavaFX
Stars: ✭ 489 (+496.34%)
Mutual labels:  rxjava, reactivex
Reprint
A unified fingerprint library for android.
Stars: ✭ 467 (+469.51%)
Mutual labels:  rxjava, reactivex
Rxkotlinfx Tornadofx Demo
A demo application demonstrating TornadoFX and Rx usage
Stars: ✭ 75 (-8.54%)
Mutual labels:  rxjava, reactivex
Angular Starter
📐 A boilerplate for HTML5, Angular, Material, TypeScript, and ReactiveX. Angular 11 | Webpack 4 | Firebase | Hosting | Functions | Workbox | PostCSS | TSLint | Jest | Puppeteer | Headless Chrome | Testing | Unit | E2E | REST | GraphQL | Apollo | Lazy Loading | AoT Compilation | Modular
Stars: ✭ 66 (-19.51%)
Mutual labels:  reactivex
Sfs
The distributed object storage server used by PitchPoint Solutions to securely store billions of large and small files using minimal resources. Object data is stored in replicated volumes implemented like Facebooks Haystack Object Store. Object metadata which essentially maps an object name to a volume position is stored in an elasticsearch index.
Stars: ✭ 78 (-4.88%)
Mutual labels:  rxjava
Rhub
Reactive Event Hub
Stars: ✭ 66 (-19.51%)
Mutual labels:  rxjava
Rxkotlin Rxjava2 Android Samples
Learning RxKotlin2 for Android by Examples - Migration From RxKotlin1/RxJava1 to RxKotlin2/RxJava2 - How to use RxKotlin 2 in Android - RxLogin using RxBinding - Pagination using RxKotlin
Stars: ✭ 65 (-20.73%)
Mutual labels:  rxjava
Reactiveandroid
Reactive events and properties with RxJava for Android
Stars: ✭ 80 (-2.44%)
Mutual labels:  rxjava
Mrbutler
Reactive Android App Permissions API with delegates and logging
Stars: ✭ 77 (-6.1%)
Mutual labels:  rxjava
Truetime Android
Android NTP time library. Get the true current time impervious to device clock time changes
Stars: ✭ 1,134 (+1282.93%)
Mutual labels:  rxjava

RxAnimationBinding

License Maven Central Bintray Android Arsenal

RxJava binding APIs for Android's animations

Usage

Base platform bindings:

compile 'com.bartoszlipinski.rxanimationbinding:rxanimationbinding:1.1.0'

Contents: RxAnimation, RxAnimator, RxValueAnimator, RxViewPropertyAnimator, RxTransition and RxAnimatable2.

==

support-v4 library bindings:

compile 'com.bartoszlipinski.rxanimationbinding:rxanimationbinding-support-v4:1.1.0'

Contents: RxViewPropertyAnimatorCompat.

==

For a working implementation of this library see the sample/ folder.

Remember to unsubscribe your subscriptions when you're done with them!

Simple examples

  1. ViewPropertyAnimator

    ViewPropertyAnimator animator = yourView.animate().scaleX(1.3f);
    
    RxViewPropertyAnimator.updates(animator)
            .subscribe(new Action1<ValueAnimator>() {
                @Override
                public void call(ValueAnimator valueAnimator) {
                    //react to an update
                }
            });  
    
  2. ValueAnimator

    ValueAnimator animator = ValueAnimator.ofInt(4, 8, 15, 16, 23, 42);
    animator.setDuration(108);
    animator.setRepeatCount(ValueAnimator.INFINITE);
    
    RxValueAnimator.repeats(animator)
            .subscribe(new Action1<Animator>() {
                @Override
                public void call(Animator animator) {
                    pressTheExecuteButton();
                }
            });
    RxValueAnimator.cancels(animator)
            .subscribe(new Action1<Animator>() {
                @Override
                public void call(Animator animator) {
                    systemFailure();
                }
            });
    

Ongoing development

Currently I'm working on the Kotlin extension methods for all bindings. Stay tuned!.

Credits

This library has been both inspired and (let’s not lie to ourselves) heavily influenced by Jake Wharton’s RxBinding.

Few classes come directly from the library (I hope I marked them all). All credits for those go to Jake and all other contributors of RxBinding.

Thanks!

License

Copyright 2016 Bartosz Lipiński

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].