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

8-3-21 Google Assistant is joining Bixby on the Galaxy Watch 4 series

8-3-21 Apple's new Mac Pro GPUs promise a huge performance boost

8-3-21 Google’s local ads tips for the back-to-school shopping season

8-3-21 Apple Reports Third Quarter Results

8-3-21 Twitter for iOS officially gains support for Sign in with Apple

8-2-21 Windows 11 redesigns Microsoft Paint and Photos app – here’s our first look

8-2-21 Deals: Get Apple's 512GB M1 Mac Mini for Record Low of $799 on Amazon ($100 Off)

8-2-21 Google offers Stadia Controller, Chromecast in $100 bundle

8-2-21 Klipsch T5 II ANC earbuds use Bragi AI to let you answer calls by nodding

8-1-21 Are iPhone buyers more loyal than Android buyers?

8-1-21 Latest IDC numbers reiterate Apple’s dominance of tablet market

8-1-21 Can your PC handle Windows 11? Here’s how to find out

7-31-21 10 deals you don’t want to miss on Saturday: $5 Alexa smart plugs, $110 electric standing desk, rare Nest Thermostat deal, more

7-31-21 Why do 2021’s smartphones - like the Galaxy Note 21 - keep being delayed or canceled?

7-31-21 Why You Suddenly Need To Delete Gmail On Your iPhone

7-31-21 A starter pack of Nanoleaf’s stunning canvas panels is $50 off at Costco today

7-30-21 Google officially announces subsea cable to connect Europe and Asia via Israel

7-30-21 Motorola debuts Edge 20 flagships globally with fast refresh screens and 108-megapixel cameras

7-30-21 The Google TV Setup app is now listed on the Play Store

7-30-21 Everything new coming from Apple in August 2021

7-30-21 Huawei’s P50 lineup is powered by HarmonyOS 2 but lacks 5G

7-30-21 Windows 11 Is Now Available as a Beta

7-29-21 The first Windows 11 preview is now available to Beta channel testers

7-29-21 Apple Releases New macOS 12 Monterey Public Beta

7-29-21 Huawei’s P50 announced with Snapdragon 888 and HarmonyOS

7-29-21 Sony’s first PS5 software beta arrives with M.2 SSD support

7-29-21 Apple’s M1 MacBook Air is at its lowest price ever at Best Buy today

7-29-21 The global chip shortage is starting to hit the smartphone industry

7-28-21 Android Studio Arctic Fox (2020.3.1) Stable

7-28-21 Radeon RX 7000 graphics cards and Ryzen 7000 processors confirmed on track for 2022 release

7-28-21 Microsoft: You Can't Get Around Windows 11 Requirements

7-28-21 Krispy Kreme has created official Xbox-branded doughnuts

7-28-21 Facebook recalls Quest 2 foam inserts over skin irritation issues

7-28-21 ZTE Axon 30 5G brings second-gen UD camera, Snapdragon 870 and 55W charging

7-28-21 iPhone 13 launch date: Apple just gave us a big hint