共用方式為


Visibility.IsVisible(TransitionValues) Method

Definition

Returns whether the view is 'visible' according to the given values object.

[Android.Runtime.Register("isVisible", "(Landroid/transition/TransitionValues;)Z", "GetIsVisible_Landroid_transition_TransitionValues_Handler")]
public virtual bool IsVisible (Android.Transitions.TransitionValues? values);
[<Android.Runtime.Register("isVisible", "(Landroid/transition/TransitionValues;)Z", "GetIsVisible_Landroid_transition_TransitionValues_Handler")>]
abstract member IsVisible : Android.Transitions.TransitionValues -> bool
override this.IsVisible : Android.Transitions.TransitionValues -> bool

Parameters

values
TransitionValues

The TransitionValues object that holds the information by which visibility is determined.

Returns

True if the view reference by values is visible, false otherwise.

Attributes

Remarks

Returns whether the view is 'visible' according to the given values object. This is determined by testing the same properties in the values object that are used to determine whether the object is appearing or disappearing in the Transition#createAnimator(ViewGroup, TransitionValues, TransitionValues) method. This method can be called by, for example, subclasses that want to know whether the object is visible in the same way that Visibility determines it for the actual animation.

Java documentation for android.transition.Visibility.isVisible(android.transition.TransitionValues).

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