Dependency Injection – 0 – 依賴注入基本概念
簡介 Dependency Injection (DI,依賴注入) 是一種設計模式 (Design Patte... » read more
簡介 Dependency Injection (DI,依賴注入) 是一種設計模式 (Design Patte... » read more
說明 在 UserMainScreen (route 名稱為 user_main) 的文字方塊中輸入姓名,按下... » read more
依賴 重要元件 NavController 這是整個 Navigation compose 的核心元件,它會追... » read more
App 架構 程式碼範例 – 基本用法 build.gradle.kt (Module level... » read more
這裏只用到基本的 CIO Engine 來取得文字資料,並開啟簡單的 logging 功能,讓初次使用的人能有... » read more
簡介 BuildConfig 這個功能,可以讓我們針對不同的階段(如:release, debug…... » read more
Uri 在 android 系統中,其實就是一個指向特定資源的識別路徑,除了識別用途外,還有安全性的考量。 個... » read more
問題概述 (When) 在建立第一個 ComposeActivity 後,我想再建立一個 XML Layout... » read more
當我們在 AndroidStudio 中 Refactor,變更 package name 時,要注意 app... » read more
程式碼範例 使用 imageVector MaterialTheme 有一些預設的 Icon 可以直接拿來使用... » read more