SplitInfo

public final class SplitInfo


Describes a split pair of two containers with activities.

Summary

Public methods

final boolean

Whether the primaryActivityStack or the secondaryActivityStack in this SplitInfo contains the activity.

boolean
equals(Object other)
final @NonNull ActivityStack

The ActivityStack representing the primary split container.

final @NonNull ActivityStack

The ActivityStack representing the secondary split container.

final @NonNull SplitAttributes

The SplitAttributes of this split pair.

int
@NonNull String

Public methods

contains

Added in 1.0.0
public final boolean contains(@NonNull Activity activity)

Whether the primaryActivityStack or the secondaryActivityStack in this SplitInfo contains the activity.

equals

public boolean equals(Object other)

getPrimaryActivityStack

Added in 1.0.0
public final @NonNull ActivityStack getPrimaryActivityStack()

The ActivityStack representing the primary split container.

getSecondaryActivityStack

Added in 1.0.0
public final @NonNull ActivityStack getSecondaryActivityStack()

The ActivityStack representing the secondary split container.

getSplitAttributes

Added in 1.1.0
public final @NonNull SplitAttributes getSplitAttributes()

The SplitAttributes of this split pair.

hashCode

public int hashCode()

toString

public @NonNull String toString()