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 bc6d42ef44
Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
2 years ago
..
AnimatedImage Fix AnimatedImage component (#2174) 2 years ago
SplitPane Update SplitPaneDSL.kt (#2196) 2 years ago
buildSrc Publish components (#829) 3 years ago
gradle/wrapper [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
resources [resources] Missing fixes with Classloader (#2490) 2 years 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 add mavenLocal to components (#2516) 2 years ago
gradle.properties Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651) 2 years ago
gradlew Custom components template. (#206) 4 years ago
gradlew.bat Custom components template. (#206) 4 years ago
settings.gradle.kts [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years 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