ActivityStack
@ExperimentalWindowApi public final class ActivityStack
A container that holds a stack of activities, overlapping and bound to the same rectangle on the screen.
Summary
Public constructors |
|
|---|---|
ActivityStack(List<Activity> activities, boolean isEmpty) |
|
Public methods |
|
|---|---|
final boolean |
|
boolean |
|
int |
hashCode() |
final boolean |
isEmpty()Returns |
@NonNull String |
toString() |
Public constructors
Public methods
isEmpty
public final boolean isEmpty()
Returns true if there's no Activity running in this ActivityStack.
Note that activities only report Activity in the process used to create this ActivityStack. That said, if this ActivityStack only contains activities from other process(es), activities will return empty list, and this method will return false.