Skip to content

//workflow/com.squareup.workflow1.ui.modal

Package com.squareup.workflow1.ui.modal

Types

Name Summary
AlertContainerScreen [jvm]
Content
@WorkflowUiExperimentalApi()

data class AlertContainerScreen<B : Any>(beneathModals: B, modals: List<AlertScreen>) : HasModals<B, AlertScreen>
More info
This will be deprecated in favor of AlertOverlay and BodyAndModalsScreen very soon.


AlertScreen [jvm]
Content
@WorkflowUiExperimentalApi()

data class AlertScreen(buttons: Map<AlertScreen.Button, String>, message: String, title: String, cancelable: Boolean, onEvent: (AlertScreen.Event) -> Unit)
More info
This will be deprecated in favor of AlertOverlay very soon.


HasModals [jvm]
Content
@WorkflowUiExperimentalApi()

interface HasModalsB : Any, out M : Any>
More info
This will be deprecated in favor of BodyAndModalsScreen very soon.


ModalContainer [androidJvm]
Content
@WorkflowUiExperimentalApi()

abstract class ModalContainer<ModalRenderingT : Any>@JvmOverloads()constructor(context: Context, attributeSet: AttributeSet?, defStyle: Int, defStyleRes: Int) : FrameLayout
More info
Base class for containers that show HasModals.modals in Dialog windows.


ModalViewContainer [androidJvm]
Content
@WorkflowUiExperimentalApi()

open class ModalViewContainer@JvmOverloads()constructor(context: Context, attributeSet: AttributeSet?, defStyle: Int, defStyleRes: Int) : ModalContainer<Any>
More info
Container that shows HasModals.modals as arbitrary views in a Dialog window.