Jetpack Compose Streamlines Android Development

by Tech Mainstream Staff


September 22, 2020


Google and the Google logo are registered trademarks of Google LLC, used with permission.


(Tech Mainstream) Jetpack Compose is Android's newest UI toolkit is three fold combining a programming language, an IDE and a powerful UI framework. Jetpack Compose is a "modern UI toolkit designed to help you quickly and easily build beautiful apps across all Android platforms, with native access to the platform APIs. Bring your app to life with dramatically less code, interactive tools, and intuitive Kotlin APIs."

Essentially Jetpack Compose includes Android Jetpack, which is a suite of libraries that work across all versions of the android platform. Kotlin is now part of Jetpack Compose. The app, Google Home, reduced lines of code by 80% and decreasedNullPointerExceptions by 33% since using Kotlin. Declarative APIs for building UI is another component of Jetpack Compose.

The Jetpack Compose alpha release includes:

  • Animations
  • Constraint Layout
  • Initial A11Y support
  • Input and Gestures
  • Interoperability with Views (start mixing Composable functions in your existing app)
  • Lazy Lists
  • Material UI components
  • Performance optimizations
  • Testing
  • Text and editable Text
  • Theming and Graphics
  • Window management

 

Also added: A number of new capabilities to Android Studio 4.2 canary, in close partnership with the JetBrains Kotlin team, to help you build apps with Compose:

  • Compose Code completion
  • Compose Preview Annotations
  • Deploy individual composables to any device
  • Interactive Compose previews
  • Kotlin compiler plugin for code generation
  • Sample Data API for Compose
TECH IN A SECOND

5-17-21 Intel CEO announces new $10 billion chip plant in Israel

5-17-21 DigiTimes: MacBooks With Mini-LED Displays May Be Delayed Until 2022

5-17-21 Tiger Lake-H Tested: We Benchmark Intel's Top-End 8-Core i9-11980HK

5-17-21 Microsoft Teams is finally fixing one of its most annoying features

5-17-21 Google Phone gains Caller ID announcement feature to help you manually screen calls

5-17-21 Apple Music announces Spatial Audio with Dolby Atmos; will bring Lossless Audio to entire catalog

5-16-21 Android 12 might include big changes to notifications and widgets

5-16-21 Google Pixel 6? Forget it, I’m only excited for the Google Pixel 5a

5-16-21 How to get the Windows 10 May 2021 (21H1) update

5-16-21 Apple reportedly will continue to require masks in its US retail stores

5-16-21 Google I/O 2021: Android 12, Pixel Buds and what else to expect

5-15-21 Telegram blocks Hamas

5-15-21 Twitter for iOS begins prompting users to enable App Tracking option

5-15-21 Instagram will soon let users post from its website as it continues to ignore the iPad

5-15-21 The chip shortage is driving up tech prices–starting with TVs

5-14-21 Google Assistant adds ‘Your apps’ settings menu for Android

5-14-21 Concept: How Apple could expand iPhone customization beyond widgets with iOS 15

5-14-21 PS5 restock update today: Track on Twitter, Walmart, Target and more

5-14-21 Google Pixel 6 leak shows off distinctive new design

5-14-21 Apple iPhone 13 to feature FaceID chip twice as small as the one on iPhone 12 series

5-14-21 Leaked renders reveal an even more affordable 5G Samsung phone

5-13-21 How Do I Recycle Old Cell Phones, Laptops, And Other Electronics?

5-13-21 Samsung Galaxy Watch 4 will allegedly run Wear OS but lack rumored feature

5-13-21 Security researcher exploits Find My network to send messages over any nearby iPhone’s data connection

5-13-21 WiFi vulnerability may leave millions of devices open to 'frag attacks'

5-13-21 Google I/O 2021: Android 12, Pixel Buds and what else to expect

5-12-21 Benchmarks show M1 iPad Pro offers 50% speed boost, outperforms high-end MacBook Pro

5-12-21 Newly discovered Wi-Fi vulnerabilities affect most devices, but risk is small

5-12-21 Germany just banned WhatsApp's new privacy policy, and all of the EU might be next

5-12-21 Amazon updates the Echo Show 8 and 5 with better cameras

5-12-21 Microsoft Patch Tuesday, May 2021 Edition

5-12-21 Android 12: Release date, new features and everything else we know

5-12-21 The PlayStation 5 Is Starting to Look Like the Revolution It Promised

5-11-21 Intel Launches New 11th Gen Core for Mobile

5-11-21 iPhone 13 Pro and Pro Max will have similar camera specs, leaked schematics suggest

5-11-21 Intel claims its new Tiger Lake-H CPUs for laptops beat AMD’s Ryzen 5000

5-11-21 Apple, Amazon and Google Smart Home Alliance Announces New 'Matter' Connectivity Standard

5-11-21 Google wants to know what Wear OS users think of the platform

5-11-21 Nvidia’s RTX 3050 Ti can deliver 60fps gameplay in more budget-friendly laptops