![]() The Jetpack compose 1.2 beta was announced during Google IO 2022 in May, introducing another round of improvements: For example: the ability to use rememberSaveable with AnimatedContent, the ability to request parents to scroll to bring an item into view with the new BringIntoView API and Laz圜olumn or LazyRow can now be animated. In addition, new experimental APIs are also introduced. Vector-related APIs that are stable on this release are: VectorProperty, VectorConfig, and RenderVectorGroup. Stable animation and vector-related APIs: some animation-related APIs are graduated to stable such as EnterTransition, ExitTransition and some AnimatedVisibility APIs.This should align Compose Material behaviour with Material Design Component counterpart and provide consistent activities when using the compose and view system together. For example, when a material component is set to a smaller size than the minimum size required by the guideline, then that minimum size will be applied instead. Enforced accessibility requirements on touch targets: layout spaces on material components are expanded to comply with Material UI accessibility guidelines. ![]() Image vector caching: a caching mechanism is added to the painterResource API which allows it to cache all image vectors and invalidates them if a configuration change occurs. COMPOSE ACCOMPANIST ANDROIDLast February, the Android team released Compose 1.1 which brings a number of improvements: Jetpack compose is stable and ready for production but Google still continues to bring new features to the library on every new release, some features are graduated to stable from experimental whilst new features or APIs are introduced as experimental. This year, Google has released version 1.1 stable and unveiled 1.2 beta during Google IO 2022. It’s been a year since the Jetpack Compose 1.0 has been released and a lot of companies have started adopting it. Compared to using jetpack compose, declarations of UI components are done in one place, with reduced boilerplates and thus it makes building Android UI faster and easier. When using the Android view system, developers need to create the layout xmls first and then separately declare UI components used in the activity in along with having to bind them before using them. ![]() Compose uses a declarative component-based paradigm which enables developers to build UIs easier and faster while embracing the style and ergonomics of the Kotlin language. ![]() COMPOSE ACCOMPANIST FOR ANDROIDJetpack compose is a modern UI toolkit for Android and was released stable last year by Google. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |