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
Rename desktop's Dialog to DialogWindow #661
Conversation
We need to discuss that online with @m-sasha |
Maybe call this |
Naming it to
If we just rename to |
The problem with |
It violates the current strategy of the window API - hide Swing as implementation details under the API and provide one small interop |
A lot of questions :)
The same as with |
There are 2 reasons:
May be it was a mistake to allow defining the platform |
@m-sasha, will it be okay in the current state? |
If the goal is to hide the implementation then I guess I don't have a better suggestion for a name. |
...ktop/desktop/samples/src/jvmMain/kotlin/androidx/compose/desktop/examples/layout/Main.jvm.kt
Show resolved
Hide resolved
Not to hide but to distinguish in-window and on-canvas implementations |
The goal behind naming Window/DialogWindow instead of SwingWindow/SwingDialog is to hide details. See the messages above (but distinguishing is also the goal, yes) |
Update tutorial after [renaming](JetBrains/compose-multiplatform-core#661)
If a receiver is meant to listen only to system broadcasts and/or self broadcasts, the receiver doesn't need to be exported. ## Proposed Changes - Update documentation on `registerReceiver` methods ## Testing Test: N/A ## Issues Fixed Fixes: N/A This is an imported pull request from androidx#661. Resolves #661 Github-Pr-Head-Sha: e7c8f3b GitOrigin-RevId: 9959398 Change-Id: I06dd7f5205893dec2069f40d64eacfca51c8e91c
Proposed Changes
Dialog
API change
Testing
Test: N/A