Jetpack is a suite of libraries
The introduction
- Follow best practices.
- Eliminate boilerplate code.
- Reduce inconsistency.
- Focus on important code.
Jetpack classification
- Architecture component: provides an easy-to-use framework with robust, testable, and maintainable applications.
· DataBinding, ViewModel, LiveData, Lifecycle…
- Basic components: provides compatibility, testing, security, Kotlin language support, and more.
· Android KTX, Test……
- Behavior component: Provides Android services, notifications, permissions, sharing, etc.
· Permissions, Notifications, CameraX…
- Interface components: provide pages, layouts, animations, etc.
Fragment, Emoji, Palette…
Why learn Jetpack?
- Google is finally starting to clean up and unify the Android ecosystem. You can expect Jetpack components to have a longer half-life, more iteration and continuity.
- Jetpack’s components are independent and can be combined. Learning this big package will give you a better understanding of the Android system.
- Jetpack’s architecture is already in mainstream use, and will eventually become an essential skill for jobs and job hunting. Get in now, Ollie! Here you go!
Ladle package
Jetpack ViewBinding
Jetpack DataBinding
Jetpack LiveData
Jetpack Lifecycle
…
Xiaobian blog series
The Android technology stack