Jetpack Compose, Google’s Declarative UI Toolkit on Developing Native Applications for all Android platforms, now has beta status. It had been presented at I / O 2019, followed by admission to the development environment Android Studio and an alpha version last summer. The toolkit uses the Kotlin programming language and a reactive programming model. It remains compatible with the incoming Android views, so developers can combine both approaches. From Apple, with Swiftui, there is a conceptually intended toolkit for the development of apps for the Apple platforms.
On the way to version 1.0
With the publication of the beta version, so it is called, all the APIs are completely or stable and integrated all the features to build apps that enjoy professional tunnels. It is therefore the right time to try Jetpack Compose. Father a year is the toolkit then as version 1.0 will be released.
Since the Alpha version, several functions have been added, while others were handled. Well, Coroutins are supported, and Google ScreenReader Talkback is now barrier-free, which should follow in other techniques to the final release. Furthermore, this is the question of easy-to-use animations, the developers apparently provide a completely new API. The above-mentioned Kotlin Coroutins allows you to write simpler asynchronous APIs. They help to write simple code that combines asynchronous events, such as a gesture that changes to an animation.
Part of the Alpha version included animations, constraint layout, an initial A11Y support (Accessability), Input and Gesture Control, Lazy Lists, Material Design Components and Window Management.
Other programming model
With declarative UI frameworks, developers do not modify the surface after state choices, but describe the situation dependent. Basis for creating a user interface in Jetpack Compose are so-called Composable Functions. They are other frameworks like Flutter and just Swiftui similar. Come are held in classes annotated with @model.
Further information can be found in the envision to the beta.