共用方式為


Activity.IsActivityTransitionRunning Property

Definition

Returns whether there are any activity transitions currently running on this activity.

public virtual bool IsActivityTransitionRunning { [Android.Runtime.Register("isActivityTransitionRunning", "()Z", "GetIsActivityTransitionRunningHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isActivityTransitionRunning", "()Z", "GetIsActivityTransitionRunningHandler", ApiSince=26)>]
member this.IsActivityTransitionRunning : bool

Property Value

true if a transition is currently running on this activity, false otherwise.

Attributes

Remarks

Returns whether there are any activity transitions currently running on this activity. A return value of true can mean that either an enter or exit transition is running, including whether the background of the activity is animating as a part of that transition.

Java documentation for android.app.Activity.isActivityTransitionRunning().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to