Example usage for android.app Activity equals

List of usage examples for android.app Activity equals

Introduction

In this page you can find the example usage for android.app Activity equals.

Prototype

public boolean equals(Object obj) 

Source Link

Document

Indicates whether some other object is "equal to" this one.

Usage

From source file:com.tutor.activity.SlidingActivity.java

private void clearReferences() {
    Activity currActivity = applicationData.getCurrentActivity();
    if (currActivity != null && currActivity.equals(this))
        applicationData.setCurrentActivity(null);
}

From source file:org.jitsi.service.osgi.OSGiActivity.java

private void clearReferences() {
    Activity currentActivity = JitsiApplication.getCurrentActivity();
    if (currentActivity != null && currentActivity.equals(this))
        JitsiApplication.setCurrentActivity(null);
}