Tag

Architecture

Browsing

What exactly is Android Jetpack?

Android Jetpack is a collection of software components, tools and guidance to make great Android apps. It helps you to develop a good and high-quality app, accelerate your development, eliminate boilerplate code and deliver a robust app. All these component emphasize you to follow best practices and simplify complex tasks in an easier way. so the developer is focused on building a great app.

Jetpack be made up of   the androidx.* package libraries, meaning that it offers backward compatibility and making sure you always have access to the latest and greatest versions of the Jetpack components.

Why should use Jetpack .?

  • Accelerate development
  • Eliminate boilerplate code
  • Build high quality, robust apps
Android Jetpack Components

Android Jetpack components are a group of libraries and existing Support Library that are independently working together that make you more productive. The Jetpack Architecture Components and arrange them into four categories: see below figure

Jetpack is distributed all component in four category

  1. Foundation
  2. Architecture
  3. Behavior
  4. UI

Foundation

Foundation component provides backward compatibility, testing and Kotlin language support.

  • AppCompat
  • Android KTX
  • Multidex
  • Test

Architecture

Architecture component help you design testable, robust and maintainable apps.

Behavior

Behavior component help to integrate notifications, permissions, sharing and the Assistant.

  • Download manage
  • Media & playback
  • Notifications
  • Permissions
  • Preferences
  • Sharing
  • Slices

UI

UI components provide widgets and helper

  • Animation & transitions
  • Auto
  • Emoji
  • Fragment
  • Layout
  • Palette
  • TV Components
  • Wear OS by Google

What’s New Jetpack

That is an excellent question, Android Jetpack comes with five new components

  • WorkManager alpha release
  • Navigation alpha release
  • Paging stable release
  • Slices alpha release
  • Android KTX (Kotlin Extensions) alpha release