Hallo Friends cellphone prices and specifications, In the article that you are reading this time with the title Announcing an Experimental Preview of Jetpack Multiplatform Libraries, we have prepared this article well for you to read and take the information in it. hopefully the contents of the post Article Android Developers Blog, Article IFTTT, what we write you can understand. all right, have a nice reading..
Posted by Márton Braun, Developer Relations Engineer
Since we announced Kotlin support for Android in 2017, developers have been excited about writing their Android apps using Kotlin. We’ve continuously expanded this support for the language over the years, going Kotlin-first with Jetpack libraries and documentation, and then further investing into Kotlin with Jetpack Compose. We’ve also seen the interest of the community in Kotlin’s multiplatform capabilities.
Kotlin Multiplatform Mobile from JetBrains is now in beta, and we have been experimenting with this technology to see how it can enable code sharing across platforms. As part of these experiments, we are now sharing a preview of Kotlin Multiplatform libraries in Jetpack.
The libraries available for multiplatform as part of this experimental preview are Collections and DataStore. These were chosen as they evaluate several important aspects of converting an existing library to multiplatform:
- Collections is an example of a library written in the Java programming language that has no Android-specific dependencies, but implements Java collection APIs.
- DataStore is written entirely in Kotlin, and it uses coroutines in both its implementation and APIs. It also depends on Java IO and Android platform APIs.
With this preview, we’re looking for your feedback about using these Jetpack libraries in multiplatform projects targeting Android and iOS applications. Keep in mind that these dev
builds are experimental and should not be used in production. They are published outside the regular release cycle of these libraries, and they are not guaranteed to graduate to stable.
The libraries are available from Google’s Maven repository. To start using them, add the following dependencies to your Kotlin Multiplatform project:
You can learn more about the available APIs by checking out our sample app which uses DataStore on Android and iOS, or in the preview API reference documentation available for both libraries.
To provide feedback about your experience with the multiplatform Jetpack libraries, or to show your interest in Kotlin Multiplatform, join the conversation in the Kotlinlang #multiplatform channel. You can also open bugs on the issue tracker for DataStore or for Collections.
*Java is a trademark or registered trademark of Oracle and/or its affiliates.
from Android Developers Blog https://ift.tt/tb2gJn1
via IFTTT
Thus the article Announcing an Experimental Preview of Jetpack Multiplatform Libraries
You are now reading the article Announcing an Experimental Preview of Jetpack Multiplatform Libraries By address link https://cellphone-prices-and-specifications.blogspot.com/2022/10/announcing-experimental-preview-of.html
0 Komentar untuk "Announcing an Experimental Preview of Jetpack Multiplatform Libraries"