{"id":18046791,"url":"https://github.com/blipinsk/rxanimationbinding","last_synced_at":"2025-04-10T04:54:42.971Z","repository":{"id":57717669,"uuid":"50122410","full_name":"blipinsk/RxAnimationBinding","owner":"blipinsk","description":"RxJava binding APIs for Android's animations","archived":false,"fork":false,"pushed_at":"2016-02-20T17:32:55.000Z","size":159,"stargazers_count":82,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T06:11:18.709Z","etag":null,"topics":["android","android-animations","animation","reactivex","rxjava"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blipinsk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-21T17:00:27.000Z","updated_at":"2025-01-09T22:50:09.000Z","dependencies_parsed_at":"2022-09-10T21:01:05.761Z","dependency_job_id":null,"html_url":"https://github.com/blipinsk/RxAnimationBinding","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blipinsk%2FRxAnimationBinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blipinsk%2FRxAnimationBinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blipinsk%2FRxAnimationBinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blipinsk%2FRxAnimationBinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blipinsk","download_url":"https://codeload.github.com/blipinsk/RxAnimationBinding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161254,"owners_count":21057553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-animations","animation","reactivex","rxjava"],"created_at":"2024-10-30T19:09:04.568Z","updated_at":"2025-04-10T04:54:42.939Z","avatar_url":"https://github.com/blipinsk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"RxAnimationBinding\n==================\n\n[![License](https://img.shields.io/github/license/blipinsk/RxAnimationBinding.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Maven Central](https://img.shields.io/maven-central/v/com.bartoszlipinski.rxanimationbinding/rxanimationbinding.svg)](http://gradleplease.appspot.com/#rxanimationbinding)\n[![Bintray](https://img.shields.io/bintray/v/blipinsk/maven/RxAnimationBinding.svg)](https://bintray.com/blipinsk/maven/RxAnimationBinding/_latestVersion)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-RxAnimationBinding-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3069)\n\nRxJava binding APIs for Android's animations\n\nUsage\n-----\n\nBase platform bindings:\n\n```groovy\ncompile 'com.bartoszlipinski.rxanimationbinding:rxanimationbinding:1.1.0'\n```\n\nContents: `RxAnimation`, `RxAnimator`, `RxValueAnimator`, `RxViewPropertyAnimator`, `RxTransition` and `RxAnimatable2`.\n\n==\n\n`support-v4` library bindings:\n\n```groovy\ncompile 'com.bartoszlipinski.rxanimationbinding:rxanimationbinding-support-v4:1.1.0'\n```\n\nContents: `RxViewPropertyAnimatorCompat`.\n\n==\n\n*For a working implementation of this library see the `sample/` folder.*\n\n**Remember to unsubscribe your subscriptions when you're done with them!**\n            \nSimple examples\n---------------\n\n 1. **`ViewPropertyAnimator`**\n          \n        ViewPropertyAnimator animator = yourView.animate().scaleX(1.3f);\n        \n        RxViewPropertyAnimator.updates(animator)\n                .subscribe(new Action1\u003cValueAnimator\u003e() {\n                    @Override\n                    public void call(ValueAnimator valueAnimator) {\n                        //react to an update\n                    }\n                });  \n\n 2. **`ValueAnimator`** \n\n        ValueAnimator animator = ValueAnimator.ofInt(4, 8, 15, 16, 23, 42);\n        animator.setDuration(108);\n        animator.setRepeatCount(ValueAnimator.INFINITE);\n    \n        RxValueAnimator.repeats(animator)\n                .subscribe(new Action1\u003cAnimator\u003e() {\n                    @Override\n                    public void call(Animator animator) {\n                        pressTheExecuteButton();\n                    }\n                });\n        RxValueAnimator.cancels(animator)\n                .subscribe(new Action1\u003cAnimator\u003e() {\n                    @Override\n                    public void call(Animator animator) {\n                        systemFailure();\n                    }\n                });\n                \n\nOngoing development\n-------------------\n  \nCurrently I'm working on the Kotlin extension methods for all bindings. Stay tuned!.\n\nCredits\n-------\nThis library has been both inspired and (let’s not lie to ourselves) heavily influenced by [Jake Wharton’s](https://github.com/JakeWharton) [RxBinding](https://github.com/JakeWharton/RxBinding).\n\nFew 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.\n\nThanks!\n\nLicense\n=======\n\n    Copyright 2016 Bartosz Lipiński\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblipinsk%2Frxanimationbinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblipinsk%2Frxanimationbinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblipinsk%2Frxanimationbinding/lists"}