ActivityStack


class ActivityStack


A container that holds a stack of activities, overlapping and bound to the same rectangle on the screen.

Summary

Public functions

operator Boolean
contains(activity: Activity)

Whether this ActivityStack contains the activity.

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Boolean

Whether there is no Activity running in this ActivityStack.

Public functions

contains

Added in 1.0.0
operator fun contains(activity: Activity): Boolean

Whether this ActivityStack contains the activity.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

isEmpty

Added in 1.0.0
val isEmptyBoolean

Whether there is no Activity running in this ActivityStack.

Note that activitiesInProcess only report Activity in the process used to create this ActivityStack. That said, if this ActivityStack only contains activities from other process(es), activitiesInProcess will return an empty list, but this method will return false.