All Projects → unixzii → android-SpringAnimator

unixzii / android-SpringAnimator

Licence: Apache-2.0 License
A framer.js DHO and RK4 spring animation port for Android.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android-SpringAnimator

DragBoardView
⭐ Android 看板,支持项拖拽、列拖拽。Draggable kanban/board view for Android.
Stars: ✭ 85 (+117.95%)
Mutual labels:  android-ui, android-ui-insipired
Bubble Navigation
🎉 [Android Library] A light-weight library to easily make beautiful Navigation Bar with ton of 🎨 customization option.
Stars: ✭ 1,537 (+3841.03%)
Mutual labels:  android-ui, android-ui-insipired
AndroidBatteryStats
Displays all battery stats of an Android device using broadcast receiver.
Stars: ✭ 20 (-48.72%)
Mutual labels:  android-ui
SSPanel Uim port offset
SSPanel Uim 端口偏移及教程
Stars: ✭ 30 (-23.08%)
Mutual labels:  port
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts
Stars: ✭ 26 (-33.33%)
Mutual labels:  android-ui
RightSheetBehavior
Modified BottomSheetBehavior to be shown from the right side.
Stars: ✭ 14 (-64.1%)
Mutual labels:  android-ui
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-17.95%)
Mutual labels:  android-ui
Reside-Menu
By applying viewpager animation you can also make AMAZING Reside Menu's
Stars: ✭ 72 (+84.62%)
Mutual labels:  android-ui
Coffeegram
Android app using Jetpack Compose together with StateFlow and MVI
Stars: ✭ 155 (+297.44%)
Mutual labels:  android-ui
XCSkin
Android App中常用的自定义UI库(非第三方)
Stars: ✭ 15 (-61.54%)
Mutual labels:  android-ui
FancyTab
No description or website provided.
Stars: ✭ 15 (-61.54%)
Mutual labels:  android-ui
RxUIKotlin
Kotlin designed reactive extensions for the Android UI
Stars: ✭ 26 (-33.33%)
Mutual labels:  android-ui
WaveView
Simple Android library to draw sinusoidal waves.
Stars: ✭ 43 (+10.26%)
Mutual labels:  android-ui
KotlinProject
This repo help for all developer who want to learn android or want to work on advance feature of android. This repo created with help of @awesomeui, @materialdesign and android latest feature. this repo contain major feature like : @awesome UI, @Material design, @firebase (auth, realtime database, firestore, push notification), @database (Room d…
Stars: ✭ 40 (+2.56%)
Mutual labels:  android-ui
CeilingLayout
CeilingLayout用来控制子View的吸顶联滑,理论上支持实现了NestedScrollingChild的联滑控件,如NestedScrollView、RecyclerView、SmartRefreshLayout等;只需要在xml里配置需要吸顶子View的位置索引就能自动实现吸顶联滑效果。
Stars: ✭ 26 (-33.33%)
Mutual labels:  android-ui
SwipeRefreshPlus
参考swiperefreshlayout添加下拉加载更多
Stars: ✭ 24 (-38.46%)
Mutual labels:  android-ui
checkview
An animating check mark
Stars: ✭ 86 (+120.51%)
Mutual labels:  android-ui
SignInSignupScreen-Android
SignIn and SignUp in android 😊😊😉
Stars: ✭ 51 (+30.77%)
Mutual labels:  android-ui
FloatingView
FloatingView moved by finger supporting OverlaySystem, OverlayActivity, OverlayViewGroup modes
Stars: ✭ 58 (+48.72%)
Mutual labels:  android-ui
RecyclerELE
Android Library for easy addition of Empty, Loading and Error views in a RecyclerView
Stars: ✭ 27 (-30.77%)
Mutual labels:  android-ui

SpringAnimator


A framer.js DHO and RK4 spring animation port for Android.

Features

  • Extends from Animator, providing a familiar API to use
  • Provides DHO and RK4 algorithm from Framer.js
  • Bundled playground app, fine-tuning made easy

Demo

Checkout the playground here: playground.apk

Screencast

Requirements

SpringAnimator requires API 16 or higher.

Download

Gradle:

repositories {
    jcenter()
}

dependencies {
    compile 'me.cyandev:springanimator:0.1.0-alpha1'
}

Find out more releases here.

Get Started

DhoSpringAnimator animator = new DhoSpringAnimator();
animator.setStiffness(200);
animator.setDamping(10);
animator.setMass(1);
animator.setVelocity(0);
animator.addUpdateListener(new AbsSpringAnimator.AnimatorUpdateListener() {
    @Override
    public void onAnimationUpdate(AbsSpringAnimator animation) {
        // Do something cool here...
    }
});
animator.start();

Parameters are fully matched with Frame.js.

Acknowledgement

Thanks koenbok/Framer for providing original algorithms.

Thanks MartinRGB for designing user interface of the playground app and providing graphical resources.

License

Copyright 2017 Cyandev

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].