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.
 
 
 
 
Thomas Vos 428af892b9
Fix resources regionCode crash before macOS 14; Use first of preferred locales instead of current (#5180)
2 weeks ago
..
AnimatedImage Update dependency versions and refactor build configs (#4215) 11 months ago
SplitPane Improve SplitPaneState (#3974) 6 months ago
buildSrc Support plural string resource (#4519) 9 months ago
gradle Support test resources in Compose UI tests. (#5122) 4 months ago
resources Fix resources regionCode crash before macOS 14; Use first of preferred locales instead of current (#5180) 2 weeks ago
ui-tooling-preview Update Android target SDK to 35 (#5152) 3 months ago
.gitignore [components/resources] add resource("img.png"). rememberImageBitmap() (#2483) 2 years ago
README.md [resources] Add functions to retrieve bytes from drawable or font resources. (#4651) 8 months ago
build.gradle.kts Pack all resources to assets on the android target. (#4965) 6 months ago
gradle.properties Add a new experimental web-specific API to preload fonts and images resources (#5159) 2 months ago
gradlew Custom components template. (#206) 4 years ago
gradlew.bat Custom components template. (#206) 4 years ago
settings.gradle.kts [components] Enable include gradle plugin build only if it exists. 6 months ago
test.sh Fix native xml parser and add ios native tests (#4207) 11 months 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

Tests

Run script:

./test.sh