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 3c348bc215
[resources] Add a font cache on non-android targets (#5109)
4 months ago
..
AnimatedImage Update dependency versions and refactor build configs (#4215) 10 months ago
SplitPane Improve SplitPaneState (#3974) 5 months ago
buildSrc Support plural string resource (#4519) 8 months ago
gradle Pack all resources to assets on the android target. (#4965) 5 months ago
resources [resources] Add a font cache on non-android targets (#5109) 4 months ago
ui-tooling-preview Pack all resources to assets on the android target. (#4965) 5 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) 7 months ago
build.gradle.kts Pack all resources to assets on the android target. (#4965) 5 months ago
gradle.properties [components] Enable include gradle plugin build only if it exists. 5 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. 5 months ago
test.sh Fix native xml parser and add ios native tests (#4207) 10 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