Skip to content
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

drawScreen should get an isVisible flag to allow screens to clean up resources they don't need #16

Closed
zach-klippenstein opened this issue Mar 30, 2020 · 0 comments · Fixed by #50

Comments

@zach-klippenstein
Copy link
Collaborator

This is another hack until the UiSavedStateRegistry stuff gets released. Once that happens, we can probably just drop all hidden screens immediately and don't need this.

zach-klippenstein added a commit that referenced this issue Mar 15, 2021
- All the actual transition logic is moved out of the `Backstack` composable and into `TransitionController`.
- `BackstackInspector` and `InspectionGestureDetector` are replaced with a single API in a new, dedicated module: `xrayed()`.
- `Backstack` now just handles the container and managing saveable state.
- Introduces `FrameController`, an abstraction which can be used to implement both transitions, the inspector functionality, and things like #17.
- Removes the spring animations from the inspector. They added unnecessary lag to the gestures.
- Adds more tests for state handling.
- Fixed some races that caused navigation animation glitches.

This change fixes a number of issues:
- Closes #4
- Closes #5
- Closes #16
- Closes #42
- Closes #44 (camera distance API is used to improve the 3D view, but not for zooming itself)
- Unblocks #17
zach-klippenstein added a commit that referenced this issue Mar 15, 2021
- All the actual transition logic is moved out of the `Backstack` composable and into `TransitionController`.
- `BackstackInspector` and `InspectionGestureDetector` are replaced with a single API in a new, dedicated module: `xrayed()`.
- `Backstack` now just handles the container and managing saveable state.
- Introduces `FrameController`, an abstraction which can be used to implement both transitions, the inspector functionality, and things like #17.
- Removes the spring animations from the inspector. They added unnecessary lag to the gestures.
- Adds more tests for state handling.
- Fixed some races that caused navigation animation glitches.

This change fixes a number of issues:
- Closes #4
- Closes #5
- Closes #16
- Closes #42
- Closes #44 (camera distance API is used to improve the 3D view, but not for zooming itself)
- Unblocks #17
zach-klippenstein added a commit that referenced this issue Mar 15, 2021
- All the actual transition logic is moved out of the `Backstack` composable and into `TransitionController`.
- `BackstackInspector` and `InspectionGestureDetector` are replaced with a single API in a new, dedicated module: `xrayed()`.
- `Backstack` now just handles the container and managing saveable state.
- Introduces `FrameController`, an abstraction which can be used to implement both transitions, the inspector functionality, and things like #17.
- Removes the spring animations from the inspector. They added unnecessary lag to the gestures.
- Adds more tests for state handling.
- Fixed some races that caused navigation animation glitches.

This change fixes a number of issues:
- Closes #4
- Closes #5
- Closes #16
- Closes #42
- Closes #44 (camera distance API is used to improve the 3D view, but not for zooming itself)
- Unblocks #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant