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 9ac23ae93e
Compose 1.6.1 examples (#4480)
8 months ago
..
.run Move experimental/examples to examples (#2976) 2 years ago
androidApp COMPOSE-356 Support light theme for codeviewer example (#3853) 1 year ago
desktopApp Move experimental/examples to examples (#2976) 2 years ago
gradle/wrapper Migrate all samples to the new resources library (#4386) 8 months ago
iosApp COMPOSE-356 Support light theme for codeviewer example (#3853) 1 year ago
screenshots Update README.md for Code Viewer example (#2989) 2 years ago
shared Migrate all samples to the new resources library (#4386) 8 months ago
.gitignore Move experimental/examples to examples (#2976) 2 years ago
README.md Update link to setup environment instructions (#4344) 9 months ago
build.gradle.kts Move CodeViewer to KMM structure + add iOS target (#2544) 2 years ago
gradle.properties Compose 1.6.1 examples (#4480) 8 months ago
gradlew Move experimental/examples to examples (#2976) 2 years ago
gradlew.bat Move experimental/examples to examples (#2976) 2 years ago
run-configurations.png Update README.md for Code Viewer example (#2989) 2 years ago
settings.gradle.kts Add org.gradle.toolchains.foojay-resolver-convention to the examples (#3666) 1 year ago

README.md

Code Viewer

Code Viewer example for Desktop, Android and iOS written in Compose Multiplatform.

Setting up your development environment

To setup the environment, please consult these instructions.

How to run

Choose a run configuration for an appropriate target in Android Studio and run it.

run-configurations.png

Run desktop via Gradle

./gradlew desktopApp:run

Building native desktop distribution

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

Desktop