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.
 
 
 
 
Konstantin f405dd8ba0
Delete experimental marker from stable resources APIs (#4144)
5 months ago
..
AnimatedImage Revert "Rename components library modules. (#3991)" 7 months ago
SplitPane Revert "Rename components library modules. (#3991)" 7 months ago
buildSrc Rename android artifact name "...-androidRelease" -> "...-android" (#3996) 7 months ago
gradle Add K/Wasm target to components/resources library (#4028) 7 months ago
resources Delete experimental marker from stable resources APIs (#4144) 5 months ago
ui-tooling-preview Revert "Rename components library modules. (#3991)" 7 months ago
.gitignore [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
README.md [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
build.gradle.kts Update Kotlin, dependencies and build scripts (#3835) 8 months ago
gradle.properties Update compose version to 1.6.0-dev1357 (#4096) 6 months ago
gradlew Custom components template. (#206) 4 years ago
gradlew.bat Custom components template. (#206) 4 years ago
settings.gradle.kts Revert "Rename components library modules. (#3991)" 7 months ago
test.sh [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago

README.md

Libraries for Compose Multiplatform

Resources

Library to load resources, like images.

How to run demo project:

Prerequisites: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either in Android Studio or in AppCode with installed CocoaPods.

Run on desktop via Gradle:

./gradlew :resources:demo:desktopApp:run

Run JS in browser with WebAssembly Skia via Gradle:

./gradlew :resources:demo:shared:jsBrowserDevelopmentRun

Run MacOS via Gradle:

  • on Intel CPU: ./gradlew :resources:demo:shared:runDebugExecutableMacosX64
  • on Apple Silicon: ./gradlew :resources:demo:shared:runDebugExecutableMacosArm64

Tests

Run script:

./test.sh