Mapping the `getString(Int id, Object... args)` fu...
# android
j
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?