-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING: container > navigation #1154
Conversation
samples/containers/poetry/src/main/java/com/squareup/sample/poetry/StanzaListScreen.kt
Outdated
Show resolved
Hide resolved
51083d9
to
7f37cfc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7f37cfc
to
ed2ecc4
Compare
Force push fixes file name of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, just one place where Android Studio tried to be too helpful
...s/nested-overlays/src/main/java/com/squareup/sample/nestedoverlays/NestedOverlaysWorkflow.kt
Outdated
Show resolved
Hide resolved
ed2ecc4
to
0937f6d
Compare
In preparation for (finally!) locking down the workflow-ui API, renames the `com.squareup.workflow1.ui.container` package to `navigation`, since that's the common theme of nearly everything in there. I think this simple change should help make our navigation story a bit more self documentating. Yes, I'll still write navigation docs. Other changes: * `View.setBackHandler` moves from `ui` to `ui.navigation` * `EnvironmentScreen`, `Screen.withEnvironment()`, `Screen.withRegistry()` which this PR moves up to the `ui` package. References to these had bled out into other spots already, so this feels like a move in the right direction. * `OnBackPressedDispatcherOwnerKey` moves from `ui` to `ui.androidx` Also, note that the packages of the deprecated classes in the `container-android` and `container-common` modules were not changed, since they're about to be deleted.
0937f6d
to
6ccfc5a
Compare
In preparation for (finally!) locking down the workflow-ui API, renames the
com.squareup.workflow1.ui.container
package tonavigation
, since that's the common theme of nearly everything in there. I think this simple change should help make our navigation story a bit more self documentating. Yes, I'll still write navigation docs.Other changes:
View.setBackHandler
moves fromui
toui.navigation
EnvironmentScreen
,Screen.withEnvironment()
,Screen.withRegistry()
which this PR moves up to theui
package. References to these had bled out into other spots already, so this feels like a move in the right direction.OnBackPressedDispatcherOwnerKey
moves fromui
toui.androidx
Also, note that the packages of the deprecated classes in the
container-android
andcontainer-common
modules were not changed, since they're about to be deleted.