Android Jetpack
Jetpack is a collection of Android software components to make it easier for you to develop great Android apps. These components help you follow best practices, free you from writing boilerplate code, and simplify complex tasks, so you can focus on the code you care about.
Jetpack 是 Android 軟件組件的集合骗炉,使您可以更輕松地開發(fā)出色的 Android 應(yīng)用无虚。這些組件可幫助您遵循最佳做法趾牧、讓您擺脫編寫樣板代碼的工作并簡化復(fù)雜任務(wù)蜂林,以便您可以專注于您關(guān)心的代碼阵具。
Jetpack comprises the androidx.* package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more frequently than the Android platform, making sure you always have access to the latest and greatest versions of the Jetpack components.
Jetpack 包含的androidx.* 軟件包庫,并且與Android平臺 API 解除捆綁.這意味著,它提供向后兼容性并且比 Android 平臺更頻繁地更新奖磁,從而確保您始終可以獲取最新且最好的 Jetpack 組件版本改基。
Foundation 基礎(chǔ)
Foundation components provide cross-cutting functionality like backwards compatibility, testing and Kotlin language support.
基礎(chǔ)組件提供核心系統(tǒng)功能、Kotlin 擴展以及對多 dex 處理和自動化測試的支持咖为。
AppCompat
Degrade gracefully on older versions of Android
在較低版本的 Android 系統(tǒng)上恰當(dāng)?shù)亟导?/p>
Android KTX
Write more concise, idiomatic Kotlin code
編寫更簡潔秕狰、慣用的 Kotlin 代碼
Multidex
Provide support for apps with multiple DEX files
為具有多個 DEX 文件的應(yīng)用提供支持
Test
An Android testing framework for unit and runtime UI tests
用于單元和運行時界面測試的 Android 測試框架
Architecture 架構(gòu)
Architecture components help you design robust, testable and maintainable apps.
架構(gòu)組件具有可幫助管理界面組件生命周期、處理數(shù)據(jù)持久性等的類躁染。
Data Binding
Declaratively bind observable data to UI elements
以聲明方式將可觀察數(shù)據(jù)綁定到界面元素
Lifecycles
Manage your activity and fragment lifecycles
管理您的 Activity 和 Fragment 生命周期
LiveData
Notify views when underlying database changes
在底層數(shù)據(jù)庫更改時通知視圖
Navigation
Handle everything needed for in-app navigation
處理應(yīng)用內(nèi)導(dǎo)航所需的一切
Paging
Gradually load information on demand from your data source
逐步從您的數(shù)據(jù)源按需加載信息
Room
Fluent SQLite database access
流暢地訪問 SQLite 數(shù)據(jù)庫
ViewModel
Manage UI-related data in a lifecycle-conscious way
以注重生命周期的方式管理界面相關(guān)的數(shù)據(jù)
WorkManager
Manage your Android background jobs
管理您的 Android 后臺作業(yè)
行為
行為組件可幫助您設(shè)計穩(wěn)健鸣哀、可測試且易維護的應(yīng)用。
Download manager
Schedule and manage large downloads
安排和管理大量下載任務(wù)
Media & playback
Backwards compatible APIs for media playback and routing (including Google Cast)
用于媒體播放和路由的向后兼容 API(包括 Google Cast)
Notifications
Provides a backwards-compatible notification API with support for Wear and Auto
提供向后兼容的通知 API吞彤,支持 Wear 和 Auto
Permissions
Compatibility APIs for checking and requesting app permissions
用于檢查和請求應(yīng)用權(quán)限的兼容性 API
Preferences
Create interactive settings screens
創(chuàng)建交互式的屏幕設(shè)置
Sharing
Provides a share action suitable for an app’s action bar
提供適合應(yīng)用操作欄的共享操作
Slices
Create flexible UI elements that can display app data outside the app
創(chuàng)建可在應(yīng)用外部顯示應(yīng)用數(shù)據(jù)的靈活界面元素
UI 界面
UI components provide widgets and helpers to make your app not only easy, but delightful to use.
界面組件讓您能夠輕松地使您的應(yīng)用用起來不僅簡單我衬,而且令人愉悅。
Animation & transitions
Move widgets and transition between screens
移動微件和在屏幕之間過渡
Auto
Components to help develop apps for Android Auto
幫助開發(fā) Android Auto 應(yīng)用的組件饰恕。
Emoji
Enable an up-to-date emoji font on older platforms
在舊版平臺上啟用最新的表情符號字體
Fragment
A basic unit of composable UI
組件化界面的基本單位
Layout
Lay out widgets using different algorithms
使用不同的算法布置微件
Palette
Pull useful information out of color palettes
從調(diào)色板中提取出有用的信息
TV
Components to help develop apps for Android TV
幫助開發(fā) Android TV 應(yīng)用的組件挠羔。
Wear OS by Google
Components to help develop apps for Wear
幫助開發(fā) Wear 應(yīng)用的組件。
后面不知道是寫單個的例子還是綜合起來寫一個項目埋嵌,大家有好的建議可以提供給我
主要涉及內(nèi)容:
IDE:Android Studio 3.4 Canary (最新版本)
主要語言:Kotlin
結(jié)構(gòu):MVVM
涉及技術(shù):Retrofit+Rxjava+Dagger+Jetpack(盡量全覆蓋)+Firebase(盡量全覆蓋)