-
Notifications
You must be signed in to change notification settings - Fork 23
wip: Experiment with Jetpack Compose #1750
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| // Choose one of the following: | ||
| // Material Design 3 | ||
| implementation("androidx.compose.material3:material3") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| // implementation("androidx.compose.ui:ui") | ||
|
|
||
| // Android Studio Preview support | ||
| implementation("androidx.compose.ui:ui-tooling-preview") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
|
|
||
| // Android Studio Preview support | ||
| implementation("androidx.compose.ui:ui-tooling-preview") | ||
| debugImplementation("androidx.compose.ui:ui-tooling") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| debugImplementation("androidx.compose.ui:ui-tooling") | ||
|
|
||
| // UI Tests | ||
| androidTestImplementation("androidx.compose.ui:ui-test-junit4") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
|
|
||
| // UI Tests | ||
| androidTestImplementation("androidx.compose.ui:ui-test-junit4") | ||
| debugImplementation("androidx.compose.ui:ui-test-manifest") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| implementation("androidx.compose.material3.adaptive:adaptive") | ||
|
|
||
| // Optional - Integration with activities | ||
| implementation("androidx.activity:activity-compose:1.10.1") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| // Optional - Integration with activities | ||
| implementation("androidx.activity:activity-compose:1.10.1") | ||
| // Optional - Integration with ViewModels | ||
| implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.5") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| // Optional - Integration with RxJava | ||
| // implementation("androidx.compose.runtime:runtime-rxjava2") | ||
|
|
||
| implementation("androidx.constraintlayout:constraintlayout:2.2.1") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
|
|
||
| implementation("androidx.constraintlayout:constraintlayout:2.2.1") | ||
| // To use constraintlayout in compose | ||
| implementation("androidx.constraintlayout:constraintlayout-compose:1.1.1") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
| implementation("androidx.constraintlayout:constraintlayout:2.2.1") | ||
| // To use constraintlayout in compose | ||
| implementation("androidx.constraintlayout:constraintlayout-compose:1.1.1") | ||
| debugImplementation("androidx.compose.runtime:runtime-tracing") |
Check failure
Code scanning / Android Lint
Use TOML Version Catalog Instead
Try and convert the translation model manager UI to Compose to get a feel for the complexity and what features are currently missing. Android Studio does not like this, see this bug for details: https://issuetracker.google.com/issues/441253579 Stuff still to do to take this forward: - No scrollbar on the list - Haven't finished checking all the edge-to-edge stuff - Haven't converted the dialogs Also, all the build.gradle.kts dependency stuff is janky and copied from the "Setting up Compose" docs, rather than integrating it nicely into the build system.
c8bc273 to
d1803c2
Compare
Try and convert the translation model manager UI to Compose to get a feel for the complexity and what features are currently missing.
Android Studio does not like this, see this bug for details: https://issuetracker.google.com/issues/441253579
Stuff still to do to take this forward:
Also, all the build.gradle.kts dependency stuff is janky and copied from the "Setting up Compose" docs, rather than integrating it nicely into the build system.