Stay organized with collections Save and categorize content based on your preferences.

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

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

public final @NonNull ActivityStack getPrimaryActivityStack()

The ActivityStack representing the primary split container.

getSecondaryActivityStack

public final @NonNull ActivityStack getSecondaryActivityStack()

The ActivityStack representing the secondary split container.

getSplitAttributes

public final @NonNull SplitAttributes getSplitAttributes()

The SplitAttributes of this split pair.

hashCode

public int hashCode()

toString

public @NonNull String toString()