SplitRule.FinishBehavior
class SplitRule.FinishBehavior
Determines what happens with the associated container when all activities are finished in one of the containers in a split.
For example, given that SplitPairRule.finishPrimaryWithSecondary is ADJACENT and secondary container finishes. The primary associated container is finished if it's adjacent to the secondary container. The primary associated container is not finished if it occupies entire task bounds.
Summary
Public companion properties |
|
|---|---|
SplitRule.FinishBehavior |
Only finish the associated container when displayed adjacent to the one being finished. |
SplitRule.FinishBehavior |
Always finish the associated container independent of the current presentation mode. |
SplitRule.FinishBehavior |
Never finish the associated container. |
Public companion properties
ADJACENT
val ADJACENT: SplitRule.FinishBehavior
Only finish the associated container when displayed adjacent to the one being finished. Does not finish the associated one when containers are stacked on top of each other.
ALWAYS
val ALWAYS: SplitRule.FinishBehavior
Always finish the associated container independent of the current presentation mode.