aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ca/allanwang/kau/utils/AnimHolder.kt
blob: 2767f04b156136fdc0a1ba145bcec67358b49111 (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 android.support.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)

}