mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 20:27:58 +03:00
DecelerateInterpolator: add default constructor
This commit is contained in:
parent
61ad80d938
commit
911b6dff9a
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ public class DecelerateInterpolator implements Interpolator{
|
|||
|
||||
private float factor = 1.0f;
|
||||
|
||||
public DecelerateInterpolator() {}
|
||||
|
||||
public DecelerateInterpolator(float value) {
|
||||
factor = value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue