EmbeddingRule


public abstract class EmbeddingRule

Known direct subclasses
ActivityRule

Layout configuration rules for individual activities with split layouts.

SplitRule

Split configuration rules for activities that are launched to side in a split.

Known indirect subclasses
SplitPairRule

Split configuration rules for activity pairs.

SplitPinRule

Split configuration rules for pinning an ActivityStack.

SplitPlaceholderRule

Configuration rules for split placeholders.


Base abstract class for activity embedding presentation rules, such as SplitPairRule and ActivityRule. Allows grouping different rule types together when updating.

Summary

Public methods

boolean
equals(Object other)
final String

A unique string to identify this EmbeddingRule, which defaults to null.

int

Public methods

equals

public boolean equals(Object other)

getTag

Added in 1.1.0
public final String getTag()

A unique string to identify this EmbeddingRule, which defaults to null. The suggested usage is to set the tag in the corresponding rule builder to be able to differentiate between different rules in the SplitAttributesCalculatorParams.splitRuleTag. For example, it can be used to compute the right SplitAttributes for the right split rule in callback set in SplitController.setSplitAttributesCalculator.

See also
addRule

hashCode

public int hashCode()