VisibilityAnimatorProvider
public
interface
VisibilityAnimatorProvider
com.google.android.material.transition.VisibilityAnimatorProvider
|
Known indirect subclasses
|
An interface which is able to provide an Animator to be supplied to a Visibility
transition when a target view is appearing or disappearing.
Summary
Public methods |
abstract
Animator
|
createAppear(ViewGroup sceneRoot, View view)
Should return an Animator that animates in the appearing target view .
|
abstract
Animator
|
createDisappear(ViewGroup sceneRoot, View view)
Should return an Animator that animates out the disappearing target view .
|
Public methods
createAppear
public abstract Animator createAppear (ViewGroup sceneRoot,
View view)
Should return an Animator that animates in the appearing target view
.
Parameters |
sceneRoot |
ViewGroup : The root of the transition hierarchy, which can be useful for checking
configurations such as RTL |
view |
View : The view that is appearing
|
createDisappear
public abstract Animator createDisappear (ViewGroup sceneRoot,
View view)
Should return an Animator that animates out the disappearing target view
.
Parameters |
sceneRoot |
ViewGroup : The root of the transition hierarchy, which can be useful for checking
configurations such as RTL |
view |
View : The view that is disappearing
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]