Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 6c86bd8

Browse files
committed
DetailsStatusItem: Fast animation
Signed-off-by: Fung <fython@163.com>
1 parent 8ac9a8e commit 6c86bd8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
org.gradle.jvmargs=-Xmx1536m
22
BUILD_TOOLS_VERSION=26.0.1
3-
VERSION_NAME=2.9.9 Beta 2
3+
VERSION_NAME=2.9.9 Beta 3
44
TARGET_SDK_VERSION=26
5-
VERSION_CODE=42
5+
VERSION_CODE=43
66
MIN_SDK_VERSION=21

mobile/src/main/java/info/papdt/express/helper/ui/items/DetailsStatusItemBinder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ void setData(Package.Status newData) {
149149
stepIcon.setScaleX(0f);
150150
stepIcon.setScaleY(0f);
151151
stepIcon.animate().scaleX(1f).scaleY(1f)
152-
.setStartDelay(150 * (indexInStatus + 1))
153-
.setDuration(500).setInterpolator(new OvershootInterpolator()).start();
152+
.setStartDelay(100 * (indexInStatus + 1))
153+
.setDuration(400).setInterpolator(new OvershootInterpolator()).start();
154154
}
155155
}
156156
}

0 commit comments

Comments
 (0)