Transitions Everywhere

Set of extra Transitions on top of AndroidX Transitions API

Лицензия

Лицензия

Группа

Группа

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

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

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

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

2.1.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

Transitions Everywhere
Set of extra Transitions on top of AndroidX Transitions API
Ссылка на сайт

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

https://github.com/andkulikov/transitions-everywhere
Система контроля версий

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

https://github.com/andkulikov/transitions-everywhere

Скачать transitionseverywhere

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
androidx.annotation » annotation jar 1.1.0
androidx.transition » transition jar 1.2.0

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

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

Transitions Everywhere

Set of extra Transitions on top of AndroidX Transitions Library.

About

Article about transitions and library
Originally this library was a full backport of Android Platform's Transitions API.
Then all the bug fixes from the library were ported into AndroidX Transitions (previously Support library).
Now this lib has minSdk version 14 (Android 4.0 ICS) and consist of some transitions which are not a part of the official set:

  1. Internal Transitions that was marked as @hide in the platform: Recolor, Rotate, ChangeText and Crossfade.
  2. Two extra transitions: Scale and Translation.

Quick start

This version should be used if you are specifying 29 (Q) as a targetSdkVersion:

dependencies {
    implementation "com.andkulikov:transitionseverywhere:2.1.0"
}

Otherwise, if you specify 29 as targetSdkVersion some of the transitions will not work properly. Instead of the reflection calls this version uses the new public methods added in API Level 29. It is based on androidx.transition:transition:1.2.0.

Previous version if you are not yet on 29 (Q) SDK:

dependencies {
    implementation "com.andkulikov:transitionseverywhere:2.0.0"
}

This version is based on androidx.transition:transition:1.1.0.

Migration from 1.x guide

  1. Migrate to AndroidX! Support libraries are not updating anymore, to get all the bug fixes you have to use AndroidX transitions.
  2. Replace imports from com.transitionseverywhere. to androidx.transition. for all the classes which are a part of the AndroidX lib.
  3. If you were using Transition.TransitionListenerAdapter class use TransitionListenerAdapter now.
  4. Instead of TransitionManager.setTransitionName() use ViewCompat.setTransitionName().
  5. If you were inflating transitions via xml move your files from anim folder to transition and use android: namespace instead of app:
  6. Some setters in AndroidX transitions are not following the builder pattern, please rewrite this usages with introducing a helper variable if you encounter the issue.
  7. Instead of TranslationTransition use Translation.

Articles about the version 1.x

Article about transitions and library
Russian version
Chinese: version 1, version 2

Changelog for version 1.x

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

Версия
2.1.0
2.1.0-rc01
2.1.0-beta01
2.0.0
2.0.0-beta01
2.0.0-alpha02
2.0.0-alpha01
1.8.1
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0