Android十全大補:從Kotlin、MVVM到測試的全方面介紹(iT邦幫忙鐵人賽系列書)
配送方式
-
台灣
- 國內宅配:本島、離島
-
到店取貨:不限金額免運費
-
海外
- 國際快遞:全球
-
港澳店取:
內容簡介
完整介紹各種Android開發所需要必備的能力,Kotlin、架構、非同步、儲存、連線、依賴注入、測試,一本書全部都給你!
本書改編自第11屆iT邦幫忙鐵人賽,Mobile Development組佳作同名系列文章——《Android十全大補》,完整收錄了Android App開發的各種領域之最佳實踐,包含架構、非同步、儲存、連線、依賴注入、測試等不同主題,除了介紹基本使用方法以外,也包含深入分析的部分,希望除了讓讀者知道如何使用外,也能更完整的理解Android App開發的方方面面。
精彩教學
你將學會Android官方推薦的開發架構
- MVP、MVVM分析比較
- 為何使用ViewModel
- LiveData深入探討
你將學會如何在Android使用依賴注入
- Dagger深入探討
- 為什麼有了Dagger還要學習Hilt
- 純Kotlin的解決方案 - Koin
你將學會多種不同領域的最佳實踐
- Retrofit
- Room、DataStore
- RxJava、Coroutine
- Espresso、Mockito、MockK
- DiffUtil、ListAdapter、SortedList
- ConcatAdapter
目錄
第00章 Kotlin
➔Variable
➔Function
➔Class
第01章 Architecture 架構篇
➔MVP
➔MVVM
ViewModel
➔SavedInstanceState vs ViewModel
➔ViewModelStore & ViewModelStoreOwner
➔ViewModelProviderFactory
➔ViewModelProvider
➔ViewModels
➔Lifecycle
LiveData
➔Lifecycle & LifecycleOwner
➔Observe
➔LiveData vs MutableLiveData
➔Transformations
➔Custom LiveData
第02章 Asynchronous 非同步篇
RxJava
➔Observable
➔Observer
➔Operator
➔Scheduler
➔Subject
Coroutine
➔Suspend
➔CoroutineScope
➔Cancel
➔CoroutineScope Builder
➔Dispatchers
➔Flow
第03章 Network 網路篇
Retrofit
➔Service Interface
➔Create Retrofit Instance
➔Execute & Enqueue
➔CallAdapter
➔Logging
➔Dynamic Proxy
➔How Retrofit works
第04章 Data Storage 資料存取篇
SharePreferences
➔AndroidX SharePreferences
➔KTX
➔PreferenceFragmentCompat
DataStore
➔Preference usage
➔Protocol buffer usage
Room
➔Entity
➔DAO
➔Database
➔Migration
➔Test
第05章 Dependency Injection 依賴注入篇
Dagger
➔Inject
➔Component
➔Module & Provide & Binds
➔Scope
➔Lazy & Provider
➔Qualifier & Named
➔Subcomponent
➔Dependencies
➔MultiBinding
Hilt
➔Scope & Component
➔InstallIn
➔Context
Koin
➔Module
➔StartKoin
➔Inject & Get
➔ViewModel
➔Named
➔KoinComponent
➔Test
➔Pros & Cons
第06章 View 視圖篇
➔Rendering
ViewBinding
RecyclerView
➔DiffUtil
➔ListAdapter
➔SortedList
➔Myers's Difference Algorithm
➔ConcatAdapter
第07章 Test 測試篇
➔TDD
Unit Test
➔Threading
Mockito
➔Mock
➔When
➔Verify
➔Annotation
MockK
➔Mockk
➔Every
➔Verify
➔Match
➔Coroutine
➔Static & Object
➔Spy
Espresso
➔ActivityScenarioRule
➔OnView
第08章 Annotation Processing 篇
➔Annotation
➔Annotation Processing
詳細資料
詳細資料
-
- 語言
- 中文繁體
- 裝訂
- 紙本平裝
-
- ISBN
- 9789864345786
- 分級
- 普通級
-
- 頁數
- 336
- 商品規格
- 23*17
-
- 出版地
- 台灣
- 適讀年齡
- 全齡適讀
-
- 注音
- 級別
訂購/退換貨須知
退換貨須知:
**提醒您,鑑賞期不等於試用期,退回商品須為全新狀態**
-
依據「消費者保護法」第19條及行政院消費者保護處公告之「通訊交易解除權合理例外情事適用準則」,以下商品購買後,除商品本身有瑕疵外,將不提供7天的猶豫期:
- 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮食品)
- 依消費者要求所為之客製化給付。(客製化商品)
- 報紙、期刊或雜誌。(含MOOK、外文雜誌)
- 經消費者拆封之影音商品或電腦軟體。
- 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書、電子雜誌、下載版軟體、虛擬商品…等)
- 已拆封之個人衛生用品。(如:內衣褲、刮鬍刀、除毛刀…等)
- 若非上列種類商品,均享有到貨7天的猶豫期(含例假日)。
- 辦理退換貨時,商品(組合商品恕無法接受單獨退貨)必須是您收到商品時的原始狀態(包含商品本體、配件、贈品、保證書、所有附隨資料文件及原廠內外包裝…等),請勿直接使用原廠包裝寄送,或於原廠包裝上黏貼紙張或書寫文字。
- 退回商品若無法回復原狀,將請您負擔回復原狀所需費用,嚴重時將影響您的退貨權益。
商品評價