Skip to content

Android real time easing animation helper class. Easing master make it easy to update real time android sensor value animation.

Notifications You must be signed in to change notification settings

bdhwan/easing-master

Repository files navigation

Real time easing animation helper

This is easing animation helper class for real time animation.
Android sensor's value (such as mic, accelerometers or gyroscope) is too dynamic to show real time animation.
Values change too quickly so we need make it smoothly.

accelerometers animation

how to

add you app dependency

compile 'com.altamirasoft.easingmaster:easing-master:1.0.15'

add helper listener

        EasingHelper helper = new EasingHelper().setEasing(0.1f);
        helper.addUpdateListener(new EasingUpdateListener() {

            @Override
            public void onUpdateCurrentValue(float value) {
                //make ui update
                object.setTranslationX(value);
            }

            @Override
            public void onFinishUpdateValue(float value) {

            }
        });
        helper.start();

set target value

  //set target value
  helper.setTargetValue(300);

About

Android real time easing animation helper class. Easing master make it easy to update real time android sensor value animation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages