Smoother

A library that makes animations choreographing animations simpler

License

License

Categories

Categories

Other General Purpose Libraries
GroupId

GroupId

com.github.sourabhgupta811
ArtifactId

ArtifactId

smoother
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

Smoother
A library that makes animations choreographing animations simpler
Project URL

Project URL

https://github.com/sourabhgupta811/Smoother
Source Code Management

Source Code Management

https://github.com/sourabhgupta811/Smoother

Download smoother

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.sourabhgupta811/smoother/ -->
<dependency>
    <groupId>com.github.sourabhgupta811</groupId>
    <artifactId>smoother</artifactId>
    <version>0.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.sourabhgupta811/smoother/
implementation 'com.github.sourabhgupta811:smoother:0.0.1'
// https://jarcasting.com/artifacts/com.github.sourabhgupta811/smoother/
implementation ("com.github.sourabhgupta811:smoother:0.0.1")
'com.github.sourabhgupta811:smoother:aar:0.0.1'
<dependency org="com.github.sourabhgupta811" name="smoother" rev="0.0.1">
  <artifact name="smoother" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.sourabhgupta811', module='smoother', version='0.0.1')
)
libraryDependencies += "com.github.sourabhgupta811" % "smoother" % "0.0.1"
[com.github.sourabhgupta811/smoother "0.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
androidx.appcompat » appcompat jar 1.1.0
com.google.android.material » material jar 1.1.0

Project Modules

There are no modules declared in this project.

Smoother

Animator Utlity class for smoother and quick ViewGroup animations like entry and exit transitions.
Smoother Medium Story

Download

dependencies {
    implementation 'com.github.sourabhgupta811:smoother:0.0.1'
}

how to use

    SmoothAnimator propagationTransition = new SmoothAnimator(frame_layout,
            demo_text,
            new TransitionSet()
                    .addTransition(new Fade(Fade.IN)).setInterpolator(new Interpolator() {
                @Override
                public float getInterpolation(float input) {
                    return (input - 0.5f) * 2;
                }
            }).addTransition(new TranslateAnimation(100, TranslateAnimation.Direction.BOTTTOM))
            , 300, null, null);
    propagationTransition.prepare();
    propagationTransition.startAnimation();

ScreenShots

Sample gif
Sample gif

Versions

Version
0.0.1