Function type. Kotlin 中如果要使用Funciton 當作Method 的參數,那麼就需要使用到 () -> T 這類型的Function type 去告訴Compiler. 這個Function 輸入值是什麼 ...
確定! 回上一頁