combine
fun KeepPopupOpenStrategy.Companion.combine(vararg strategies: KeepPopupOpenStrategy): KeepPopupOpenStrategy(source)
A KeepPopupOpenStrategy that combines multiple orthogonal strategies into one.
As long as any of the strategies want to keep the popup open, this will treat that as a request to keep the popup open.
fun OpenClosePopupStrategy.Companion.combine(vararg strategies: OpenClosePopupStrategy): OpenClosePopupStrategy(source)
A KeepPopupOpenStrategy that combines multiple orthogonal strategies into one.
If any single strategy requests that the popup should open, then the popup will open. If any strategy requests that the popup should close, then it will close. In other words, this is not a democratic strategy but rather a dictatorial one.