Skip to content

Commit

Permalink
Moves BackStackConfig from android to common
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrjr committed May 15, 2023
1 parent 3bb7596 commit d8ee2a9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
18 changes: 0 additions & 18 deletions workflow-ui/core-android/api/core-android.api
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (Landroid/content/Context;)V
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;)V
Expand Down
18 changes: 18 additions & 0 deletions workflow-ui/core-common/api/core-common.api
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (Lcom/squareup/workflow1/ui/Screen;Ljava/util/List;)V
public fun <init> (Lcom/squareup/workflow1/ui/Screen;[Lcom/squareup/workflow1/ui/Screen;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit d8ee2a9

Please sign in to comment.