Langue

ViewPropertyAnimator.WithStartAction(IRunnable) Méthode

Définition

Spécifie une action à effectuer lors de l’exécution de l’animation suivante.

[Android.Runtime.Register("withStartAction", "(Ljava/lang/Runnable;)Landroid/view/ViewPropertyAnimator;", "GetWithStartAction_Ljava_lang_Runnable_Handler")]
public virtual Android.Views.ViewPropertyAnimator WithStartAction(Java.Lang.IRunnable? runnable);
[<Android.Runtime.Register("withStartAction", "(Ljava/lang/Runnable;)Landroid/view/ViewPropertyAnimator;", "GetWithStartAction_Ljava_lang_Runnable_Handler")>]
abstract member WithStartAction : Java.Lang.IRunnable -> Android.Views.ViewPropertyAnimator
override this.WithStartAction : Java.Lang.IRunnable -> Android.Views.ViewPropertyAnimator

Paramètres

runnable
IRunnable

Action à exécuter au démarrage de l’animation suivante.

Retours

Cet objet, permettant aux appels aux méthodes de cette classe d’être chaînés.

Attributs

Remarques

Spécifie une action à effectuer lors de l’exécution de l’animation suivante. S’il existe un #setStartDelay(long) startDelay ensemble sur cet ViewPropertyAnimator, l’action s’exécute une fois que startDelay expire, lorsque l’animation réelle commence. Cette méthode, ainsi que #withEndAction(Runnable), est destinée à faciliter la chorégraphie ViewPropertyAnimator animations avec d’autres animations ou actions dans l’application.

Java documentation pour android.view.ViewPropertyAnimator.withStartAction(java.lang.Runnable).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à