diff --git a/workflow-ui/core-android/api/core-android.api b/workflow-ui/core-android/api/core-android.api index 2b6917385..d403a64cb 100644 --- a/workflow-ui/core-android/api/core-android.api +++ b/workflow-ui/core-android/api/core-android.api @@ -334,24 +334,6 @@ public final class com/squareup/workflow1/ui/container/BackButtonScreen : com/sq public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/container/BackButtonScreen; } -public final class com/squareup/workflow1/ui/container/BackStackConfig : java/lang/Enum { - public static final field Companion Lcom/squareup/workflow1/ui/container/BackStackConfig$Companion; - public static final field First Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static final field None Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static final field Other Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/container/BackStackConfig; - public static fun values ()[Lcom/squareup/workflow1/ui/container/BackStackConfig; -} - -public final class com/squareup/workflow1/ui/container/BackStackConfig$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { - public fun getDefault ()Lcom/squareup/workflow1/ui/container/BackStackConfig; - public synthetic fun getDefault ()Ljava/lang/Object; -} - -public final class com/squareup/workflow1/ui/container/BackStackConfigKt { - public static final fun plus (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/container/BackStackConfig;)Lcom/squareup/workflow1/ui/ViewEnvironment; -} - public class com/squareup/workflow1/ui/container/BackStackContainer : android/widget/FrameLayout { public fun (Landroid/content/Context;)V public fun (Landroid/content/Context;Landroid/util/AttributeSet;)V diff --git a/workflow-ui/core-common/api/core-common.api b/workflow-ui/core-common/api/core-common.api index 58e707d0c..b14bd88ec 100644 --- a/workflow-ui/core-common/api/core-common.api +++ b/workflow-ui/core-common/api/core-common.api @@ -194,6 +194,24 @@ public final class com/squareup/workflow1/ui/container/AlertOverlay$Event$Cancel public static final field INSTANCE Lcom/squareup/workflow1/ui/container/AlertOverlay$Event$Canceled; } +public final class com/squareup/workflow1/ui/container/BackStackConfig : java/lang/Enum { + public static final field Companion Lcom/squareup/workflow1/ui/container/BackStackConfig$Companion; + public static final field First Lcom/squareup/workflow1/ui/container/BackStackConfig; + public static final field None Lcom/squareup/workflow1/ui/container/BackStackConfig; + public static final field Other Lcom/squareup/workflow1/ui/container/BackStackConfig; + public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/container/BackStackConfig; + public static fun values ()[Lcom/squareup/workflow1/ui/container/BackStackConfig; +} + +public final class com/squareup/workflow1/ui/container/BackStackConfig$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey { + public fun getDefault ()Lcom/squareup/workflow1/ui/container/BackStackConfig; + public synthetic fun getDefault ()Ljava/lang/Object; +} + +public final class com/squareup/workflow1/ui/container/BackStackConfigKt { + public static final fun plus (Lcom/squareup/workflow1/ui/ViewEnvironment;Lcom/squareup/workflow1/ui/container/BackStackConfig;)Lcom/squareup/workflow1/ui/ViewEnvironment; +} + public final class com/squareup/workflow1/ui/container/BackStackScreen : com/squareup/workflow1/ui/Container, com/squareup/workflow1/ui/Screen { public fun (Lcom/squareup/workflow1/ui/Screen;Ljava/util/List;)V public fun (Lcom/squareup/workflow1/ui/Screen;[Lcom/squareup/workflow1/ui/Screen;)V diff --git a/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt b/workflow-ui/core-common/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt similarity index 90% rename from workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt rename to workflow-ui/core-common/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt index 4411970ff..17c912aeb 100644 --- a/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt +++ b/workflow-ui/core-common/src/main/java/com/squareup/workflow1/ui/container/BackStackConfig.kt @@ -7,13 +7,13 @@ import com.squareup.workflow1.ui.container.BackStackConfig.First import com.squareup.workflow1.ui.container.BackStackConfig.Other /** - * Informs views whether they're children of a [BackStackContainer], + * Informs views whether they're children of a [BackStackScreen], * and if so whether they're the [first frame][First] or [not][Other]. */ @WorkflowUiExperimentalApi public enum class BackStackConfig { /** - * There is no [BackStackContainer] above here. + * There is no [BackStackScreen] above here. */ None,