Transition Constructors
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.
Overloads
Transition() |
Constructs a Transition object with no target objects. |
Transition(Context, IAttributeSet) |
Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource. |
Transition(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Transition()
Constructs a Transition object with no target objects.
[Android.Runtime.Register(".ctor", "()V", "")]
public Transition ();
- Attributes
Remarks
Constructs a Transition object with no target objects. A transition with no targets defaults to running on all target objects in the scene hierarchy (if the transition is not contained in a TransitionSet), or all target objects passed down from its parent (if it is in a TransitionSet).
Java documentation for android.transition.Transition.Transition()
.
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
Transition(Context, IAttributeSet)
Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public Transition (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Transitions.Transition : Android.Content.Context * Android.Util.IAttributeSet -> Android.Transitions.Transition
Parameters
- context
- Context
The Context the transition is running in, through which it can access the current theme, resources, etc.
- attrs
- IAttributeSet
The attributes of the XML tag that is inflating the transition.
- Attributes
Remarks
Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource. This constructor of Transition allows subclasses to use their own base style when they are inflating.
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
Transition(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Transition (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Transitions.Transition : nativeint * Android.Runtime.JniHandleOwnership -> Android.Transitions.Transition
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.