Enum.valueOf in Kotlin, Your function works if you specify the type parameter value explicitly: val value = safeValueOf<TestEnum>("test"). The original code is ...
確定! 回上一頁