-
- All Implemented Interfaces:
-
com.squareup.workflow1.ui.ViewFactory,com.squareup.workflow1.ui.ViewRegistry.Entry
public class AlertContainer.Companion implements ViewFactory<AlertContainerScreen<?>>
-
-
Field Summary
Fields Modifier and Type Field Description private final KClass<in AlertContainerScreen<?>>typepublic final static AlertContainer.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ViewFactory<AlertContainerScreen<?>>customThemeBinding(@StyleRes() Integer dialogThemeResId)Creates a ViewFactory to show the AlertScreens of an AlertContainerScreen as Android AlertDialogs.KClass<in AlertContainerScreen<?>>getType()-
-
Method Detail
-
customThemeBinding
final ViewFactory<AlertContainerScreen<?>> customThemeBinding(@StyleRes() Integer dialogThemeResId)
Creates a ViewFactory to show the AlertScreens of an AlertContainerScreen as Android
AlertDialogs.- Parameters:
dialogThemeResId- the resource ID of the theme against which to inflate dialogs.
-
-
-
-