Home
Posts
About Me
What you think is what you get
Home
Posts
About Me
Menu
All posts by: zgh149
zgh149
Android
,
Uncategorized
在本地端資料庫儲存資料 (Room)
by
zgh149
8 1 月, 2019
1
在 Room 中有 3 個主要的元件 1.Database: 包含資料庫持有者(database holder......
Android
,
Uncategorized
Room overview
by
zgh149
8 1 月, 2019
3
什麼是 Room? Room 是 Android 官方所提供的 ORM,可快速方便的存取 SQLite。 基本......
Android
,
Uncategorized
Two-way data binding (雙向數據綁定)
by
zgh149
7 12 月, 2018
1
前言 使用單向數據綁定可以在屬性上設置數值,並可設定對該屬性的變化作出反應的監聽器。如下 <CheckB......
Android
,
Uncategorized
Bind layout views to Architecture Components (綁定佈局到架構元件)
by
zgh149
5 12 月, 2018
1
前言 AndroidX 函式庫包含架構元件(Architecture Components),可以使用它來設計......
Android
,
Uncategorized
Binding adapters (綁定轉接器)
by
zgh149
4 12 月, 2018
1
前言 Binding Adapter 主要用來呼叫適當方式來設定數值。一個例子為透過 setText 方法來設......
Android
,
Uncategorized
Generated binding classes (產生綁定類別)
by
zgh149
13 11 月, 2018
1
前言 Data Binding 會產生綁定類別(binding class),用來存取佈局變數(layout’......
Android
,
Uncategorized
Splash Activity
by
zgh149
13 11 月, 2018
0
1.編輯 value/styles.xml 加入以下內容 <resources> ... <......
Uncategorized
work with observable data objects (使用可觀察數據對象) (Data Binding)
by
zgh149
7 11 月, 2018
1
前言 可觀察性(Observability)是指一個物件具有當其數據發生變化時通知其他元件的能力。 Data ......
Uncategorized
Layouts and binding expressions (佈局和綁定表達式)(Data Binding)
by
zgh149
7 11 月, 2018
1
1.簡介 表達式語言(expression language)允許開發者編寫處理視圖調度事件的表達式。 Dat......
Uncategorized
finaldb 和 Serializable 合併使用問題
by
zgh149
5 11 月, 2018
0
問題描述: 若有個物件想透過 finalDB 儲存但又實作了 Serializable 介面。 當去存取該物件......
9
10
11
12
13