forName and then convert it to a KClass using the .kotlin extension property. The code then looks like this: val kClass = Class.forName("mypackage.
確定! 回上一頁