-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
59 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,26 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.0.0-alpha3' | ||
classpath 'com.android.tools.build:gradle:2.0.0-alpha5' | ||
classpath 'com.novoda:bintray-release:0.3.4' | ||
} | ||
} | ||
|
||
// To avoid manually setting the same values in all Android modules, set the value on the root | ||
// project and then reference this from the modules | ||
ext { | ||
compileSdkVersion = 23 | ||
buildToolsVersion = "23.0.2" | ||
supportLibVersion = "23.1.1" | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } | ||
} | ||
} | ||
|
||
ext { | ||
compileSdkVersion = 23 | ||
buildToolsVersion = "23.0.2" | ||
supportLibVersion = "23.1.1" | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = '2.10' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
library/src/main/java/com/mikepenz/itemanimators/AlphaCrossFadeAnimator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.mikepenz.itemanimators; | ||
|
||
/** | ||
* Created by mikepenz on 08.01.16. | ||
*/ | ||
public class AlphaCrossFadeAnimator extends DefaultAnimator<AlphaCrossFadeAnimator> { | ||
|
||
@Override | ||
public long getAddDelay(long remove, long move, long change) { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public long getRemoveDelay(long remove, long move, long change) { | ||
return remove / 2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters