Language

Fragment.Equals(Object) Method

Definition

Caution

deprecated

Subclasses can not override equals().

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")]
[System.Obsolete("deprecated")]
public override sealed bool Equals(Java.Lang.Object? o);
[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")>]
[<System.Obsolete("deprecated")>]
override this.Equals : Java.Lang.Object -> bool

Parameters

o
Object

Object: This value may be null.

Returns

true if this object is the same as the obj argument; false otherwise.

Attributes

Remarks

Subclasses can not override equals().

Android reference for android.app.Fragment.equals.

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