課程簡介
介紹
- 為什麼 Kotlin 是更好的 Java
設置工具
- 使用命令行工具
- 安裝 Kotlin 的 JDK
- 安裝和設置 IDE:IntelliJ
- 安裝外掛程式
Basic Kotlin 入門 Programming
- 學習 Kotlin 架構
- 在 Kotlin 中創建變數
- 瞭解 Kotlin 中的不同數據類型
- 在 Kotlin 中使用字串
- 理解 Kotlin 中的不可變性
- 實現表達式、語句和賦值
- 在 Kotlin 中使用可為 null 的變數以確保 null 安全
- 使用“if”語句處理條件程式流
- 使用“when”語句處理選項
- 探索 Kotlin 的條件語句高級功能
- 在 Kotlin 中使用陣列和清單
- 在 Kotlin 中實現迴圈構造
- 在 Kotlin 中創建、聲明和使用函數
- 使用參數並返回值
- 使用擴展函數
- 使用內聯函數
- 使用高階函數
使用 Kotlin 的面向物件 Programming
- 使用物件進行程式設計概述
- 創建類
- 向類添加方法
- 定義基本構造函數
- 使用命名參數和預設值
- 使用開放類允許繼承
- 使用抽象類
- 創建和使用介面
- 處理覆蓋
- 創建數據類
- 使用單例和伴隨物件
- 使用枚舉
- 將類分組到包中
- 使用導入
- 實現信息隱藏
- 使用 getter 和 setter
- 實現可見性修飾符
- 瞭解泛型
- 實現通用堆疊
- 使用泛型函數
探索 Kotlin 與 Java 的互通性
- 使用 Kotlin 中的 Java
- 使用 Java 中的 Kotlin
探索 Kotlin 的高級功能
- 瞭解運算子重載
- 使用批注
- 使用反射
- 實現 DSL 構造
- 實現解構
將 Kotlin 用於功能 Programming
動手實踐:將 Android 應用程式從 Java 轉換為 Kotlin
- 使用 Android Studio
- 使用 Kotlin 開始一個新專案
- 將現有 Java 代碼轉換為 Kotlin
- 將 Android API 與 Kotlin 配合使用
故障排除
總結和結論
最低要求
- Java 程式設計經驗
- 有Android開發的基本經驗或熟悉
觀眾
- 對 Kotlin 感興趣的 Android 開發者
- 對 Kotlin 感興趣的 Java 程式師
客戶評論 (3)
Alex is a very friendly, personable guy. He made everyone feel comfortable working through together and volunteering to give slutions.
Kai Bergman - Red Embedded Consulting Sp. z o.o.
Course - Kotlin for Beginners
It was concise, well organised, had nice balance of tasks and lectures and everything was on point.
Alexander Illarionov - C.T.Co SIA
Course - Advanced Kotlin Programming
Great content, excellent exercises. Covered a lot of information. Friendly to new Kotlin programmers but also a lot to still learn for those of us already using Kotlin. Highly recommend this course. The pace of the course was perfect, not too slow, not too fast. Alternating between instruction and exercises helped cement the knowledge from each section.