You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Oleksandr Karpovich 0b429b6ac9
Update all versions for 1.3.1 + update Changelog (#2856)
2 years ago
..
android Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
common Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
desktop Remove import org.jetbrains.compose.compose (#2363) 2 years ago
gradle/wrapper
screenshots
third_party
.gitignore
README.md Replace package by packageDistributionForCurrentOS (#2390) 2 years ago
build.gradle.kts fix examples with Kotlin Native issue (#2534) 2 years ago
gradle.properties Update all versions for 1.3.1 + update Changelog (#2856) 2 years ago
gradlew
gradlew.bat
settings.gradle.kts

README.md

Widget gallery

This example is derived from ComposeCookBook project by Gurupreet Singh (@Gurupreet) published under MIT license.

An example of Compose application for Desktop and Android platforms, demonstrating how to use various Material widgets.

Running desktop application

  • To run, launch command: ./gradlew :desktop:run
  • Or choose desktop configuration in IDE and run it.
    desktop-run-configuration.png

Building native desktop distribution

./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries

Installing Android application on device/emulator

./gradlew installDebug