What's new in multiplatform Jetpack libraries
source link: https://android-developers.googleblog.com/2023/04/whats-new-in-jetpack-multiplatform.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
What's new in multiplatform Jetpack libraries
Posted by Márton Braun, Developer Relations Engineer
To support developers who are already using Kotlin Multiplatform for sharing business logic across mobile platforms, we previously released experimental multiplatform previews of the Collections and DataStore Jetpack libraries, and we've been receiving great feedback from the community.
The multiplatform Collections and DataStore libraries are now moving from experimental developer previews to alpha releases, and will follow the normal release cycle of Jetpack libraries. Annotations, a core Jetpack library, is now also available for multiplatform.
Please note that Kotlin Multiplatform is still in beta, therefore the non-Android targets of these libraries don’t have Jetpack’s usual stability guarantees.
The alpha releases are available from Google’s Maven repository. You can try them by adding the following dependencies to your Kotlin Multiplatform project:
|
The multiplatform DiceRoller sample app has also been updated to use the new alpha version of DataStore.
To provide feedback on these multiplatform releases, create a bug on our issue tracker, or join the conversation in the Kotlinlang #multiplatform channel.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK