{"id":13396366,"url":"https://github.com/2359media/EasyAndroidAnimations","last_synced_at":"2025-03-13T23:30:58.580Z","repository":{"id":18685992,"uuid":"21895563","full_name":"2359media/EasyAndroidAnimations","owner":"2359media","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-21T05:09:07.000Z","size":6258,"stargazers_count":1386,"open_issues_count":16,"forks_count":313,"subscribers_count":101,"default_branch":"master","last_synced_at":"2024-10-15T23:45:50.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/2359media.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-16T10:02:33.000Z","updated_at":"2024-10-04T16:17:21.000Z","dependencies_parsed_at":"2022-09-25T01:40:49.134Z","dependency_job_id":null,"html_url":"https://github.com/2359media/EasyAndroidAnimations","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2359media%2FEasyAndroidAnimations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2359media%2FEasyAndroidAnimations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2359media%2FEasyAndroidAnimations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2359media%2FEasyAndroidAnimations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2359media","download_url":"https://codeload.github.com/2359media/EasyAndroidAnimations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243499896,"owners_count":20300711,"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":[],"created_at":"2024-07-30T18:00:47.874Z","updated_at":"2025-03-13T23:30:57.911Z","avatar_url":"https://github.com/2359media.png","language":"HTML","readme":"EasyAndroidAnimations\n=====================\n\n`Easy Android Animations` is an animation library that aims to make android animations easier, with `50+` builtin animations, it allows you to introduce many complex animation effects in your application with one or two lines of code.\n\n[![Demo](https://raw.githubusercontent.com/2359media/EasyAndroidAnimations/master/demo.png)](http://www.youtube.com/watch?v=qb63BYjTebU)\n\nDemo Video\n----------\n\n[![ScreenShot](https://raw.githubusercontent.com/2359media/EasyAndroidAnimations/master/youtube.png)](http://www.youtube.com/watch?v=qb63BYjTebU)\n\n[Download Demo APK](https://github.com/2359media/EasyAndroidAnimations/raw/master/Animation_demo/EasyAndroidAnimationsDemo.apk)\n\n\n\nUsage:\n======\n\nIncluding In Your Project\n-------------------------\n\nYou can include the library directly in your Gradle project:\n\n - \tAdd the following to your `build.gradle`:\n ```gradle\nrepositories {\n\t    maven { url \"https://jitpack.io\" }\n}\n\ndependencies {\n\t    compile 'com.github.2359media:EasyAndroidAnimations:0.8'\n}\n``` \n\nYou can [download this jar file](https://raw.githubusercontent.com/2359media/EasyAndroidAnimations/master/easyandroidanimationslibrary-v0.5.jar) and include it in your project, otherwise you can download the source code and customize it according to your need. \n\nCode Samples\n------------\n\n\n*See `Animation_demo/` folder for a working implementation of this library.*\n\n  1. For example, if you wanted a view to mimic the bounce animation with the default parameters,\n  ```\n    new BounceAnimation(yourView).animate();\n  ```\n\n  2. If you wanted to use your own parameters instead of the default ones,\n  ```\n    new BounceAnimation(yourView)\n      .setBounceDistance(50)\n      .setBounces(5)\n      .setDuration(500)\n      .animate();\n  ```\n\n  3. Here's another example of mimicking the explode animation with your own parameters as well as the addition of an animation listener.\n  ```\n    new ExplodeAnimation(yourView)\n      .setExplodeMatrix(ExplodeAnimation.MATRIX_2X2)\n      .setInterpolator(new DecelerateInterpolator())\n      .setDuration(500)\n      .setListener(new AnimationListener() {\n        @Override\n        public void onAnimationEnd(Animation animation) {\n          *perform your own functions here when animation ends*\n        }\n      })\n      .animate();\n  ```\n\n  4. It is also possible to play several animations in parallel using the `ParallelAnimator` class. The following example scales in a view and flips it horizontally at the same time.\n  ```\n    new ParallelAnimator()\n      .add(new ScaleInAnimation(yourView))\n      .add(new FlipHorizontalAnimation(yourView))\n      .setDuration(500)\n      .animate();\n  ```\n\n\n\n\n\n\nCoding Robos\n------------\n\n [Umair Vatao](http://sg.linkedin.com/in/umairvatao), [Nee Si Yao](http://sg.linkedin.com/pub/si-yao-nee/7a/a62/203/), [Phu Tang](phu.tanghong@2359media.com.vn)\n \n","funding_links":[],"categories":["Index `(light-weight pages)`","HTML","Index","Libs"],"sub_categories":["\u003cA NAME=\"Animations\"\u003e\u003c/A\u003eAnimations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2359media%2FEasyAndroidAnimations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2359media%2FEasyAndroidAnimations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2359media%2FEasyAndroidAnimations/lists"}