Singleton 模式在很多時候還是很好用的,在Kotlin 中,你再也不用手動把constructor 鎖成private, 也不用手動建立getInstance method, 不用手動處理靜態instance 的 ...
確定! 回上一頁