191225 Kotlin Smart cast to xxx is impossible, because yyy is a mutable property that could have been changed by this time.

Smart cast to xxx is impossible, because yyy is a mutable property that could have been changed by this time.

如果您遇上了以上的錯誤訊息
可參考以下連結中解答裡的第二種方法
https://stackoverflow.com/questions/44595529/smart-cast-to-type-is-impossible-because-variable-is-a-mutable-property-tha

如果想要對 let 做進一步的了解
可參考以下連結中的文章
https://medium.com/@elye.project/mastering-kotlin-standard-functions-run-with-let-also-and-apply-9cd334b0ef84






留言

這個網誌中的熱門文章

泰文子音與字形之間的變化

AUTOMAXX UP-5HX 使用心得