Home
Posts
About Me
What you think is what you get
Home
Posts
About Me
Menu
Posts tagged with: Android
Tag: Android
Android
Activity 生命週期紀錄
by
zgh149
8 4 月, 2019
0
概要: 生命週期主要包含 6 種狀態: onCreate, onStart, onResume, onPaus......
Android
,
Uncategorized
android.util.Log 列印訊息內容太多無法完全顯示
by
zgh149
4 3 月, 2019
0
使用 android.util.Log 列印訊息時,若訊息內容太多就會出現無法完全顯示訊息內容的情況。 解決的......
Android
,
Uncategorized
使用 Room DAO 存取資料 (Room)
by
zgh149
9 1 月, 2019
1
要使用 Room 存取資料,需要使用 DAO。 這組 DAO 物件形成了 Room 的主要組件,因為每個 DA......
Android
,
Uncategorized
在資料庫中建立 View (Room)
by
zgh149
8 1 月, 2019
1
Room 2.1.0 及更高版本提供對 SQLite 資料庫的 View 功能,允許使用者將查詢封裝到類別中。......
Android
,
Uncategorized
使用 Room entities 定義資料 (Room)
by
zgh149
8 1 月, 2019
1
使用 Room 時,可以將相關的屬性定義為實體(entities)。 對於每個實體,將會創建一個資料表來保存項......
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 方法來設......
1
2
3
4
5