blob: b9880855171fd97e337b0d2c7810df915cf18d5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package ca.allanwang.kau.utils
import android.os.Build
import androidx.annotation.RequiresApi
import ca.allanwang.kau.kotlin.lazyInterpolator
/**
* Created by Allan Wang on 2017-06-28.
*
* Holder for a bunch of common animators/interpolators used throughout this library
*/
object AnimHolder {
@RequiresApi(Build.VERSION_CODES.LOLLIPOP)
val fastOutSlowInInterpolator = lazyInterpolator(android.R.interpolator.fast_out_linear_in)
val decelerateInterpolator = lazyInterpolator(android.R.interpolator.decelerate_cubic)
}
|