[分享] 拆解 Function 六大姿勢 - 使用 Kotlin

看板AndroidDev作者 (HKT)時間6年前 (2018/03/24 19:30), 6年前編輯推噓0(113)
留言5則, 5人參與, 6年前最新討論串1/1
拆解 Function 六大姿勢 - 使用 Kotlin 開發Android APP 1.基本函数定義 2.帶有參數的函数定義 3.函數有回傳值定義 4.函數有默認參數值定義 5.命名参数的方式來呼叫函數 6.單行表達式函數 資料取自:從零開始學 Kotlin 程式設計 https://goo.gl/SGBzn1 https://imgur.com/jKaqvLO.png
https://imgur.com/H9fIjPm.png
https://imgur.com/Xx0IS3S.png
https://imgur.com/xvyYEXp.png
https://imgur.com/9Pam3ge.png
https://imgur.com/Zllpee7.png
https://imgur.com/EPmlyAO.png
https://imgur.com/yoxJ20E.png
https://imgur.com/aedZMxr.png
-- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 219.85.3.112 ※ 文章網址: https://www.ptt.cc/bbs/AndroidDev/M.1521891045.A.202.html ※ 編輯: romantic1027 (219.85.3.112), 03/24/2018 21:35:54

03/26 01:32, 6年前 , 1F
03/26 01:32, 1F

03/28 19:01, 6年前 , 2F
默認
03/28 19:01, 2F

03/30 01:28, 6年前 , 3F
我覺得看這個滿浪費時間的
03/30 01:28, 3F

04/01 17:23, 6年前 , 4F
我也不喜歡"默認",希望是用"預設"
04/01 17:23, 4F

04/01 21:55, 6年前 , 5F
那應該會更不喜歡「数」吧?XD
04/01 21:55, 5F
文章代碼(AID): #1QjZRb82 (AndroidDev)