Smoother

A library that makes animations choreographing animations simpler

Лицензия

Лицензия

Категории

Категории

Other Универсальные библиотеки
Группа

Группа

com.github.sourabhgupta811
Идентификатор

Идентификатор

smoother
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

Smoother
A library that makes animations choreographing animations simpler
Ссылка на сайт

Ссылка на сайт

https://github.com/sourabhgupta811/Smoother
Система контроля версий

Система контроля версий

https://github.com/sourabhgupta811/Smoother

Скачать smoother

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
androidx.appcompat » appcompat jar 1.1.0
com.google.android.material » material jar 1.1.0

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
0.0.1