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.
 
 
 
 
Igor Demin 7ad4492f43
Migrate to 1.2.0-rc01 (#2382)
2 years ago
..
android Update Android Examples 2 years ago
common Remove import org.jetbrains.compose.compose (#2363) 2 years ago
desktop Remove import org.jetbrains.compose.compose (#2363) 2 years ago
gradle/wrapper update gradle wrapper 7.5.1 (#2352) 2 years ago
screenshots Fix examples, templates (#2359) 2 years ago
third_party Cleanup samples and adjust for rc5 3 years ago
.gitignore Cleanup samples and adjust for rc5 3 years ago
README.md Fix examples, templates (#2359) 2 years ago
build.gradle.kts Update examples (#1740) 3 years ago
gradle.properties Migrate to 1.2.0-rc01 (#2382) 2 years ago
gradlew Cleanup samples and adjust for rc5 3 years ago
gradlew.bat Cleanup samples and adjust for rc5 3 years ago
settings.gradle.kts Modify replace.sh for replacing Compose version (#1511) 3 years ago

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:package
# outputs are written to desktop/build/compose/binaries

Installing Android application on device/emulator

./gradlew installDebug