diff --git a/README.md b/README.md index 060c023..ce5ef4e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 对ObjectAnimator和AnimatorSet进行封装 ## Gradle -`implementation 'com.fanwe.android:animator:1.1.2'` +`implementation 'com.fanwe.android:animator:1.1.3'` ## 关于startAsPop(boolean clone) 为了解决view没办法超出父布局边界来执行动画的问题,提供了这个方法 diff --git a/lib/build.gradle b/lib/build.gradle index 69e8bdb..08f2f6f 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -6,8 +6,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 22 - versionCode 20180529 - versionName "1.1.2" + versionCode 20180607 + versionName "1.1.3" } buildTypes { release { @@ -29,7 +29,7 @@ publish { groupId = 'com.fanwe.android' artifactId = 'animator' - publishVersion = '1.1.2' + publishVersion = '1.1.3' desc = 'android animator library' website = 'https://github.com/zj565061763/animator' } diff --git a/lib/src/main/java/com/fanwe/lib/animator/BaseAnimator.java b/lib/src/main/java/com/fanwe/lib/animator/BaseAnimator.java index 407e452..ca49bf2 100644 --- a/lib/src/main/java/com/fanwe/lib/animator/BaseAnimator.java +++ b/lib/src/main/java/com/fanwe/lib/animator/BaseAnimator.java @@ -39,7 +39,6 @@ abstract class BaseAnimator implements Exten public BaseAnimator() { - mObjectAnimator.setDuration(0); mObjectAnimator.setFloatValues(0); mObjectAnimator.addListener(new OnStartVisible()); }