Package com.squareup.workflow1.ui.modal

Types

AlertContainer
Link copied to clipboard
@WorkflowUiExperimentalApi
class AlertContainer @JvmOverloads constructor(context: Context, attributeSet: AttributeSet?, defStyle: Int, defStyleRes: Int, @StyleRes dialogThemeResId: Int) : ModalContainer<AlertScreen>

Renders the AlertScreens of an AlertContainerScreen as AlertDialogs.

ModalContainer
Link copied to clipboard
@WorkflowUiExperimentalApi
abstract class ModalContainer<ModalRenderingT : Any@JvmOverloads constructor(context: Context, attributeSet: AttributeSet?, defStyle: Int, defStyleRes: Int) : FrameLayout

Base class for containers that show HasModals.modals in Dialog windows.

ModalViewContainer
Link copied to clipboard
@WorkflowUiExperimentalApi
open class ModalViewContainer @JvmOverloads constructor(context: Context, attributeSet: AttributeSet?, defStyle: Int, defStyleRes: Int) : ModalContainer<Any>

Container that shows HasModals.modals as arbitrary views in a Dialog window. Provides compatibility with View.backPressedHandler.