-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Hello world Kotlin Jetpack Compose Example; Fixes:#3550 #3769
base: main
Are you sure you want to change the base?
Hello world Kotlin Jetpack Compose Example; Fixes:#3550 #3769
Conversation
kotlinlib/src/mill/kotlinlib/android/AndroidAppKotlinModule.scala
Outdated
Show resolved
Hide resolved
kotlinlib/src/mill/kotlinlib/android/AndroidAppKotlinModule.scala
Outdated
Show resolved
Hide resolved
kotlinlib/src/mill/kotlinlib/android/AndroidAppKotlinModule.scala
Outdated
Show resolved
Hide resolved
kotlinlib/src/mill/kotlinlib/android/AndroidAppKotlinModule.scala
Outdated
Show resolved
Hide resolved
kotlinlib/src/mill/kotlinlib/android/AndroidAppKotlinModule.scala
Outdated
Show resolved
Hide resolved
Left some comments. Looks reasonable overall. Haven't tested it manually, but will do before merging. |
All Reviews Has been Resolved if any further changes are needed then please review this again If Code is done, then I will move to the documentation part (please confirm once) |
Please proceed with documentation, you do not meed to wait until code is done |
I think what you are missing here (to be precise - in your previous PR) is support of the resources: drawables (at least for the icon), strings, etc. Because no real-world app won't be released without those. There is also a question of different qualifiers support, but this is another story. |
yes Sir, i know actually when i raised this pr i just solved the unresolved reference error and i think that its working but today when i tested my android application then i came to know that its crashing(and discussed same in discord about aar full support today) Now i am working in the rest of the implementation and if you know something about how the android aar files are handled in the backend(like how their resources are merged, manifest.xml merge, R.txt merge and many other things) i my self have reached out a lot of android developers but still didn't got the right answer no worries i will try my best to solve this issue any help appreciated... |
Finally, its Done App is running and Working Documentation also Updated; All Tests Passed @lihaoyi Please Provide Final reviews if Required.... Please Pardon me if i made any mistake... |
@himanshumahajan138 I tried this out locally, it appears that we do not make any use of Jetpack Compose in the actual application example, and everything still works even when the Compose ivydeps and imports have been commented out. This needs to use Jetpack Compose to in the application to make sure it actually works |
@lihaoyi I Will make it work also but first i think we should do something for SDK coz downloading it again and again sense out nothing |
@lihaoyi Sir I have Updated whole android Setup, Examples and fixed that error (if ivydeps are commented) Updations:
Please Review this.... Pardon me if any mistake done by me... |
@himanshumahajan138 example/kotlinlib/android/2-jetpack-compose-hello-world/app/src/java/com/helloworld/app/MainActivity.kt still does not make use of Jetpack compose in its implementation. Please take the source code from https://github.com/android/codelab-android-compose/blob/main/BasicsCodelab/app/src/main/java/com/codelab/basics/MainActivity.kt and ensure it can build and run correctly |
@lihaoyi sorry sir its my bad, I will update the code... |
Pull Request
Fixes: #3550
Description
Added
Kotlin Android Jetpack Compose Example
insuring proper integration ofAndroidAppKotlinModule
withJetpack Compose
Related Issues
Checklist
Additional Notes
@lihaoyi Sir Please review my PR First if everything from the code side is accepted then i will proceed with documentation Part for the changes
Please Pardon me if I made any mistake...