Hello everyone…
Can anyone help with this: I just created an extension function on View to load formatted strings.
fun View.loadString(@StringRes resId: Int, vararg args: String): String {
return context.getString(resId, args)
}
When I invoke it I get this exception:
java.util.MissingFormatArgumentException: Format specifier: 2$s…
Am I missing anything?