EasyAndroidAnimations


Source link: https://github.com/2359media/EasyAndroidAnimations

EasyAndroidAnimations

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.

Demo Video

Download Demo APK

Usage:

Including In Your Project

You can include the library directly in your Gradle project:

  • Add the following to your build.gradle:
repositories {

  maven {
 url "https://jitpack.io" 
}
 
}
  dependencies {

  compile 'com.github.2359media:EasyAndroidAnimations:0.8' 
}

You can download this jar file and include it in your project, otherwise you can download the source code and customize it according to your need.

Code Samples

See Animation_demo/ folder for a working implementation of this library.

  1. For example, if you wanted a view to mimic the bounce animation with the default parameters,
  new BounceAnimation(yourView).animate();
 
  1. If you wanted to use your own parameters instead of the default ones,
  new BounceAnimation(yourView)
  .setBounceDistance(50)
  .setBounces(5)
  .setDuration(500)
  .animate();
 
  1. Here's another example of mimicking the explode animation with your own parameters as well as the addition of an animation listener.
  new ExplodeAnimation(yourView)
  .setExplodeMatrix(ExplodeAnimation.MATRIX_2X2)
  .setInterpolator(new DecelerateInterpolator())
  .setDuration(500)
  .setListener(new AnimationListener() {

 @Override

 public void onAnimationEnd(Animation animation) {

*perform your own functions here when animation ends*

 
}

  
}
)
  .animate();
 
  1. 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.
  new ParallelAnimator()
  .add(new ScaleInAnimation(yourView))
  .add(new FlipHorizontalAnimation(yourView))
  .setDuration(500)
  .animate();
 

Coding Robos

Umair Vatao, Nee Si Yao, Phu Tang

Resources

Inject automatically your Activities & Fragments, just with a simple annotation.

Give your users a fantastic experience by providing new and exciting features like: P2P, Proximity, Mesh and Offline connectivity.

By integrating the Bridgefy SDK, app developers ensure that payments, messaging, location-sharing, and ride-hailing apps are still available when people don't have access to data.

Fearless RecyclerView Adapter for only focus on your view

ExpandableLayout can expand / collapse child views.

Android Studio template for Kotlin with MVP + Dagger2 + Retrofit2.

Simple and light library to do validate observable fields with MVVM for android

Each ValidatedObservableField work like ObservableField, but it have 3 observables properties:

  • value - contains the value of type T
  • valid - boolean true if ALL Rules are valid
  • errorMessage - contains NULL or errorMessage from first invalid Rule

Rules are validated one by one (the order is important), the first invalid Rule will break the chain and set errorMessage. Rules are validated onPropertyChange. You can create your own rules using Rule interface. You can use single Rule or many by RuleCommand.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes