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 .* 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
Foundation component provides backward compatibility, testing and Kotlin language support.
- Android KTX
Architecture component help you design testable, robust and maintainable apps.
Behavior component help to integrate notifications, permissions, sharing and the Assistant.
- Media & playback
UI components provide widgets and helper
- Animation & transitions
- 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