Transition.IsTransitionRequired(TransitionValues, TransitionValues) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether or not the transition should create an Animator, based on the values
captured during #captureStartValues(TransitionValues)
and
#captureEndValues(TransitionValues)
.
[Android.Runtime.Register("isTransitionRequired", "(Landroid/transition/TransitionValues;Landroid/transition/TransitionValues;)Z", "GetIsTransitionRequired_Landroid_transition_TransitionValues_Landroid_transition_TransitionValues_Handler", ApiSince=23)]
public virtual bool IsTransitionRequired (Android.Transitions.TransitionValues? startValues, Android.Transitions.TransitionValues? endValues);
[<Android.Runtime.Register("isTransitionRequired", "(Landroid/transition/TransitionValues;Landroid/transition/TransitionValues;)Z", "GetIsTransitionRequired_Landroid_transition_TransitionValues_Landroid_transition_TransitionValues_Handler", ApiSince=23)>]
abstract member IsTransitionRequired : Android.Transitions.TransitionValues * Android.Transitions.TransitionValues -> bool
override this.IsTransitionRequired : Android.Transitions.TransitionValues * Android.Transitions.TransitionValues -> bool
Parameters
- startValues
- TransitionValues
the values from captureStartValues, This may be null
if the
View did not exist in the start state.
- endValues
- TransitionValues
the values from captureEndValues. This may be null
if the View
did not exist in the end state.
Returns
- Attributes
Remarks
Returns whether or not the transition should create an Animator, based on the values captured during #captureStartValues(TransitionValues)
and #captureEndValues(TransitionValues)
. The default implementation compares the property values returned from #getTransitionProperties()
, or all property values if getTransitionProperties()
returns null. Subclasses may override this method to provide logic more specific to the transition implementation.
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.