MCPcopy Index your code
hub / github.com/andkulikov/Transitions-Everywhere

github.com/andkulikov/Transitions-Everywhere @v1.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.8.0 ↗ · + Follow
775 symbols 1,927 edges 68 files 242 documented · 31%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Transitions Everywhere

Backport of Android Transitions API. Animations backported to Android 4.0+. API compatible with Android 2.3+

About

Article about transitions and library. More info here

Russian version

Chinese: version 1, version 2

Article about Support Library for Transitions. Overview and comparison with Transitions-Everywhere

Simple example

TransitionManager.beginDelayedTransition(transitionsContainer);
text.setVisibility(visible ? View.VISIBLE : View.GONE);      

Article and sample application contain a lot of examples how to use transitions.

Quick start

dependencies {
    compile "com.andkulikov:transitionseverywhere:1.8.0"
}

Use transition classes from package com.transitionseverywhere.* instead of android.transition.* from android framework Transitions API.

Changelog

1.8.0

Provides @NonNull and @Nullable annotations for all the methods to make the library more Kotlin friendly

1.7.9

Fix bug with typo in restoring paused Visibility transition when it is using an overlay

1.7.8

Fix for ChangeBounds sometimes not applying the latest values. Thanks to lukaville

1.7.7

Fix version resolving issue when use together with the latest suppport libs

1.7.6

Fix for the case when Visibility transition is removing the view from the previous scene. Framework bug for it

1.7.4, 1.7.5

Fixes for color change in ChangeText. Thanks to droidluv and passsy

1.7.3

Fix for TranslationTransition, fix for Visibility transition cancelation when it is using an overlay

1.7.1, 1.7.2

Npe fix, WindowId backport, update PathParser version

1.7.0

Bug fix for rare NPE. Thanks to TealOcean

1.6.9

Bug fix for Scenes when we pass null transition

1.6.8

Bug fix for Recolor. Thanks to twyatt

1.6.7

Merge with Android 7.0. Some internal improvements

1.6.5

Optimizations for ChangeBounds and Fade

1.6.4

Bug fix. Thanks to raycoarana

1.6.3

Hidden transitions are moved in the main package. Proguard rules are removed. Some internal fixes.

1.6.2

Fixed issue with incorrect disappearing when set of more than one Visibility transitions animates the same view

Added two "extra" transitions: Scale (for scaled appearing & disappearing) and TranslationTransition (animates changes of translationX and translationY)

1.6.0

Merge with final Android Marshmallow SDK

PathMotion aka Curved motion is backported!

Bug fixes and performance optimizations.

Extension points exported contracts — how you extend this code

TransitionListener (Interface)
A transition listener receives notifications from a transition. Notifications indicate transition lifecycle events. [5 …
library/src/main/java/com/transitionseverywhere/Transition.java
SampleListProvider (Interface)
(no doc) [1 implementers]
sample/src/main/java/com/andkulikov/transitionseverywhere/ListFragment.java

Core symbols most depended-on inside this repo

get
called by 127
library/src/main/java/com/transitionseverywhere/Recolor.java
equals
called by 39
library/src/main/java/com/transitionseverywhere/TransitionValues.java
add
called by 37
library/src/main/java/com/transitionseverywhere/Transition.java
oops
called by 31
library/src/main/java/com/transitionseverywhere/utils/MatrixUtils.java
remove
called by 28
library/src/main/java/com/transitionseverywhere/Transition.java
addListener
called by 24
library/src/main/java/com/transitionseverywhere/Transition.java
isValidTarget
called by 14
library/src/main/java/com/transitionseverywhere/Transition.java
getOverlay
called by 14
library/src/main/java/com/transitionseverywhere/utils/ViewOverlayPreJellybean.java

Shape

Method 664
Class 108
Interface 3

Languages

Java100%

Modules by API surface

library/src/main/java/com/transitionseverywhere/Transition.java92 symbols
library/src/main/java/com/transitionseverywhere/utils/ViewUtils.java53 symbols
library/src/main/java/com/transitionseverywhere/TransitionSet.java39 symbols
library/src/main/java/com/transitionseverywhere/ChangeTransform.java33 symbols
library/src/main/java/com/transitionseverywhere/utils/AnimatorUtils.java32 symbols
library/src/main/java/com/transitionseverywhere/Visibility.java32 symbols
library/src/main/java/com/transitionseverywhere/utils/MatrixUtils.java28 symbols
library/src/main/java/com/transitionseverywhere/utils/ViewGroupOverlayUtils.java25 symbols
library/src/main/java/com/transitionseverywhere/ChangeBounds.java25 symbols
library/src/main/java/com/transitionseverywhere/TransitionManager.java24 symbols
library/src/main/java/com/transitionseverywhere/PathParser.java18 symbols
sample/src/main/java/com/andkulikov/transitionseverywhere/ListFragment.java15 symbols

For agents

$ claude mcp add Transitions-Everywhere \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page