https://kotlinlang.org logo
j

John

10/01/2019, 2:21 PM
Mapping the
getString(Int id, Object... args)
function to a kotlin function like this:
Copy code
fun getString(resId: Int, vararg args: Any?): String = context.getString(resId, args)
Doesn’t actually work, (always throws a java.util.MissingFormatArgumentException). Does anyone know why?
2 Views