Android-Easing

Light weight easing for Android

Лицензия

Лицензия

Группа

Группа

it.sephiroth.android.library.easing
Идентификатор

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

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

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

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

Android-Easing
Light weight easing for Android
Ссылка на сайт

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

http://blog.sephiroth.it
Система контроля версий

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

https://github.com/sephiroth74/Android-Easing

Скачать library

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

<!-- https://jarcasting.com/artifacts/it.sephiroth.android.library.easing/library/ -->
<dependency>
    <groupId>it.sephiroth.android.library.easing</groupId>
    <artifactId>library</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/it.sephiroth.android.library.easing/library/
implementation 'it.sephiroth.android.library.easing:library:1.0.2'
// https://jarcasting.com/artifacts/it.sephiroth.android.library.easing/library/
implementation ("it.sephiroth.android.library.easing:library:1.0.2")
'it.sephiroth.android.library.easing:library:aar:1.0.2'
<dependency org="it.sephiroth.android.library.easing" name="library" rev="1.0.2">
  <artifact name="library" type="aar" />
</dependency>
@Grapes(
@Grab(group='it.sephiroth.android.library.easing', module='library', version='1.0.2')
)
libraryDependencies += "it.sephiroth.android.library.easing" % "library" % "1.0.2"
[it.sephiroth.android.library.easing/library "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

Android-Easing

Light weight android easing library.

Setup

Just add the following line to your dependencies group:

compile 'it.sephiroth.android.library.easing:android-easing:+'

In this way you'll always use the latest version

Example usage:

import it.sephiroth.android.library.easing.*;

EasingManager manager = new EasingManager(new EasingManager.EasingCallback() {

    @Override
    public void onEasingValueChanged(double value, double oldValue) {
    }

    @Override
    public void onEasingStarted(double value) {
    }

    @Override
    public void onEasingFinished(double value) {
    }
});

// start the easing from 0 to 100 
// using Cubic easeOut
// and a duration of 500ms
manager.start(Cubic.class, EaseType.EaseOut, 0, 100, 500);

There are different easing classes you can use:

  • Back
  • Bounce
  • Circ
  • Cubic
  • Elastic
  • Expo
  • Linear
  • Quad
  • Quart
  • Quint
  • Sine

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

Версия
1.0.2
1.0.1
1.0.0