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.
 
 
 
 
dima.avdeev 7fce8df5f7
fix examples with Kotlin Native issue (#2534)
2 years ago
..
.run examples README and .run configurations (#2355) 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
.gitignore Simplified TodoApp example (#1252) 3 years ago
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 Compose 1.2.1 (#2453) 2 years ago
gradlew Simplified TodoApp example (#1252) 3 years ago
gradlew.bat Simplified TodoApp example (#1252) 3 years ago
settings.gradle.kts Modify replace.sh for replacing Compose version (#1511) 3 years ago

README.md

A simplified version of the TodoApp example, fully based on Jetpack Compose and without using any third-party libraries.

Supported targets: Android and Desktop.

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

Running Android application

Open project in IntelliJ IDEA or Android Studio and run "android" configuration.

Desktop