Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

ChangeScroll

open class ChangeScroll : Transition
kotlin.Any
   ↳ androidx.transition.Transition
   ↳ androidx.transition.ChangeScroll

This transition captures the scroll properties of targets before and after the scene change and animates any changes.

Summary

Inherited constants
Public constructors

<init>(context: Context!, attrs: AttributeSet!)

Public methods
open Animator?
createAnimator(@NonNull sceneRoot: ViewGroup, @Nullable startValues: TransitionValues?, @Nullable endValues: TransitionValues?)

open Array<String!>?

open Unit
captureStartValues(@NonNull transitionValues: TransitionValues)

open Unit
captureEndValues(@NonNull transitionValues: TransitionValues)

Inherited functions

Public constructors

<init>

ChangeScroll()

<init>

ChangeScroll(context: Context!, attrs: AttributeSet!)

Public methods

createAnimator

@Nullable open fun createAnimator(@NonNull sceneRoot: ViewGroup, @Nullable startValues: TransitionValues?, @Nullable endValues: TransitionValues?): Animator?

getTransitionProperties

@Nullable open fun getTransitionProperties(): Array<String!>?

captureStartValues

open fun captureStartValues(@NonNull transitionValues: TransitionValues): Unit

captureEndValues

open fun captureEndValues(@NonNull transitionValues: TransitionValues): Unit