setDefaultAnimatorOptions

Set default global options for given animator type. All newly created animators will have those options applied.

Parameters

block

Block to apply any ValueAnimator parameters

type

Type of default animator

fun setDefaultAnimatorOptions(type: CameraAnimatorType, block: ValueAnimator.() -> Unit)

Set default global options for all animator types All newly created animators will have those options applied.

Parameters

block

Block to apply any ValueAnimator parameters

fun setDefaultAnimatorOptions(block: ValueAnimator.() -> Unit)